/** * Compose the Messaging Mode. Messaging Mode encoded on ESM Class at bits 1 - * 0. * * @param esmClass current/old ESM class. * @param messagingModeValue * @return the encoded messaging mode at ESM class */ protected final static byte composeMessagingMode(byte esmClass, byte messagingModeValue) { return (byte)(cleanMessagingMode(esmClass) | messagingModeValue); }
/** * Compose the Messaging Mode. Messaging Mode encoded on ESM Class at bits 1 - * 0. * * @param esmClass current/old ESM class. * @param messagingModeValue * @return the encoded messaging mode at ESM class */ protected final static byte composeMessagingMode(byte esmClass, byte messagingModeValue) { return (byte)(cleanMessagingMode(esmClass) | messagingModeValue); }
/** * Compose the Messaging Mode. Messaging Mode encoded on ESM Class at bits 1 - * 0. * * @param esmClass current/old ESM class. * @param messagingModeValue * @return the encoded messaging mode at ESM class */ protected final static byte composeMessagingMode(byte esmClass, byte messagingModeValue) { return (byte)(cleanMessagingMode(esmClass) | messagingModeValue); }
/** * Compose the Messaging Mode. Messaging Mode encoded on ESM Class at bits 1 - * 0. * * @param esmClass current/old ESM class. * @param messagingModeValue * @return the encoded messaging mode at ESM class */ protected final static byte composeMessagingMode(byte esmClass, byte messagingModeValue) { return (byte)(cleanMessagingMode(esmClass) | messagingModeValue); }