protected abstract class BinaryProtocol.SimpleMessage extends BinaryProtocol.Message
Modifier | Constructor and Description |
---|---|
protected |
BinaryProtocol.SimpleMessage() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
getBoolean(java.nio.ByteBuffer buffer) |
protected byte[] |
getByteArray(java.nio.ByteBuffer buffer) |
protected java.lang.Double |
getDouble(java.nio.ByteBuffer buffer) |
protected <T extends java.lang.Enum<T>> |
getEnum(java.lang.Class<T> enumType,
java.nio.ByteBuffer buffer) |
protected NameIdPair |
getNameIdPair(java.nio.ByteBuffer buffer) |
protected RepNodeImpl[] |
getRepNodeImplArray(java.nio.ByteBuffer buffer) |
protected java.lang.String[] |
getStringArray(java.nio.ByteBuffer buffer)
Reconstitutes an array of strings.
|
protected VLSN |
getVLSN(java.nio.ByteBuffer buffer) |
protected java.nio.ByteBuffer |
wireFormat(java.lang.Object... arguments)
Assembles a sequence of arguments into its byte based wire format.
|
allocateInitializedBuffer, getOp, match, toString, wireFormat
protected java.nio.ByteBuffer wireFormat(java.lang.Object... arguments)
opId
- the operation indicated by the messagearguments
- the arguments to be passed in the messageprotected RepNodeImpl[] getRepNodeImplArray(java.nio.ByteBuffer buffer)
protected java.lang.String[] getStringArray(java.nio.ByteBuffer buffer)
buffer
- protected byte[] getByteArray(java.nio.ByteBuffer buffer)
protected boolean getBoolean(java.nio.ByteBuffer buffer)
protected VLSN getVLSN(java.nio.ByteBuffer buffer)
protected <T extends java.lang.Enum<T>> T getEnum(java.lang.Class<T> enumType, java.nio.ByteBuffer buffer)
protected java.lang.Double getDouble(java.nio.ByteBuffer buffer)
protected NameIdPair getNameIdPair(java.nio.ByteBuffer buffer)
Copyright (c) 2004-2012 Oracle. All rights reserved.