/** * Compose the Message Type. Message Type encoded on ESM Class at bits 5 - * 2. * * @param esmClass * @param messageTypeValue * @return */ protected final static byte composeMessageType(byte esmClass, byte messageTypeValue) { return (byte)(cleanMessageType(esmClass) | messageTypeValue); }
/** * Message Type. Compose the esm_class as with default message Type. * * @param esmClass * @return */ public static byte composeDefaultMessageType(byte esmClass) { return cleanMessageType(esmClass); }
/** * Compose the Message Type. Message Type encoded on ESM Class at bits 5 - * 2. * * @param esmClass * @param messageTypeValue * @return */ protected final static byte composeMessageType(byte esmClass, byte messageTypeValue) { return (byte)(cleanMessageType(esmClass) | messageTypeValue); }
/** * Message Type. Compose the esm_class as with default message Type. * * @param esmClass * @return */ public static byte composeDefaultMessageType(byte esmClass) { return cleanMessageType(esmClass); }
/** * Compose the Message Type. Message Type encoded on ESM Class at bits 5 - * 2. * * @param esmClass * @param messageTypeValue * @return */ protected final static byte composeMessageType(byte esmClass, byte messageTypeValue) { return (byte)(cleanMessageType(esmClass) | messageTypeValue); }
/** * Message Type. Compose the esm_class as with default message Type. * * @param esmClass * @return */ public static byte composeDefaultMessageType(byte esmClass) { return cleanMessageType(esmClass); }
/** * Compose the Message Type. Message Type encoded on ESM Class at bits 5 - * 2. * * @param esmClass * @param messageTypeValue * @return */ protected final static byte composeMessageType(byte esmClass, byte messageTypeValue) { return (byte)(cleanMessageType(esmClass) | messageTypeValue); }
/** * Message Type. Compose the esm_class as with default message Type. * * @param esmClass * @return */ public static byte composeDefaultMessageType(byte esmClass) { return cleanMessageType(esmClass); }