Class ServerMessageCommonEncoder
java.lang.Object
com.iohao.net.sbe.ServerMessageCommonEncoder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendTo(StringBuilder builder) org.agrona.MutableDirectBufferbuffer()intid(int value) static intstatic intstatic intstatic intstatic intip(int index, byte value) ip(CharSequence src) static Stringstatic intstatic intstatic intipLength()static bytestatic bytestatic bytename(int index, byte value) static Stringstatic intstatic intstatic intstatic bytestatic bytestatic bytenetId(int value) static intstatic intstatic intstatic intstatic intintoffset()putIp(byte[] src, int srcOffset) putName(byte[] src, int srcOffset) putTag(byte[] src, int srcOffset) intintserverType(byte value) static intstatic intstatic bytestatic bytestatic bytetag(int index, byte value) static Stringstatic intstatic intstatic intstatic bytestatic bytestatic bytetoString()wrap(org.agrona.MutableDirectBuffer buffer, int offset)
-
Field Details
-
SCHEMA_ID
public static final int SCHEMA_ID- See Also:
-
SCHEMA_VERSION
public static final int SCHEMA_VERSION- See Also:
-
SEMANTIC_VERSION
- See Also:
-
ENCODED_LENGTH
public static final int ENCODED_LENGTH- See Also:
-
BYTE_ORDER
-
-
Constructor Details
-
ServerMessageCommonEncoder
public ServerMessageCommonEncoder()
-
-
Method Details
-
wrap
-
buffer
public org.agrona.MutableDirectBuffer buffer() -
offset
public int offset() -
encodedLength
public int encodedLength() -
sbeSchemaId
public int sbeSchemaId() -
sbeSchemaVersion
public int sbeSchemaVersion() -
idEncodingOffset
public static int idEncodingOffset() -
idEncodingLength
public static int idEncodingLength() -
idNullValue
public static int idNullValue() -
idMinValue
public static int idMinValue() -
idMaxValue
public static int idMaxValue() -
id
-
serverTypeEncodingOffset
public static int serverTypeEncodingOffset() -
serverTypeEncodingLength
public static int serverTypeEncodingLength() -
serverTypeNullValue
public static byte serverTypeNullValue() -
serverTypeMinValue
public static byte serverTypeMinValue() -
serverTypeMaxValue
public static byte serverTypeMaxValue() -
serverType
-
netIdEncodingOffset
public static int netIdEncodingOffset() -
netIdEncodingLength
public static int netIdEncodingLength() -
netIdNullValue
public static int netIdNullValue() -
netIdMinValue
public static int netIdMinValue() -
netIdMaxValue
public static int netIdMaxValue() -
netId
-
nameEncodingOffset
public static int nameEncodingOffset() -
nameEncodingLength
public static int nameEncodingLength() -
nameNullValue
public static byte nameNullValue() -
nameMinValue
public static byte nameMinValue() -
nameMaxValue
public static byte nameMaxValue() -
nameLength
public static int nameLength() -
name
-
nameCharacterEncoding
-
putName
-
name
-
tagEncodingOffset
public static int tagEncodingOffset() -
tagEncodingLength
public static int tagEncodingLength() -
tagNullValue
public static byte tagNullValue() -
tagMinValue
public static byte tagMinValue() -
tagMaxValue
public static byte tagMaxValue() -
tagLength
public static int tagLength() -
tag
-
tagCharacterEncoding
-
putTag
-
tag
-
ipEncodingOffset
public static int ipEncodingOffset() -
ipEncodingLength
public static int ipEncodingLength() -
ipNullValue
public static byte ipNullValue() -
ipMinValue
public static byte ipMinValue() -
ipMaxValue
public static byte ipMaxValue() -
ipLength
public static int ipLength() -
ip
-
ipCharacterEncoding
-
putIp
-
ip
-
ip
-
toString
-
appendTo
-