Class MessageType
- java.lang.Object
-
- net.timewalker.ffmq4.common.message.MessageType
-
public final class MessageType extends Object
FFMQ constants for a message type
-
-
Constructor Summary
Constructors Constructor Description MessageType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractMessagecreateInstance(byte type)Create a message instance of the given type
-
-
-
Field Detail
-
EMPTY
public static final byte EMPTY
- See Also:
- Constant Field Values
-
BYTES
public static final byte BYTES
- See Also:
- Constant Field Values
-
MAP
public static final byte MAP
- See Also:
- Constant Field Values
-
OBJECT
public static final byte OBJECT
- See Also:
- Constant Field Values
-
STREAM
public static final byte STREAM
- See Also:
- Constant Field Values
-
TEXT
public static final byte TEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
createInstance
public static AbstractMessage createInstance(byte type)
Create a message instance of the given type
-
-