| java.lang.Object com.tc.net.protocol.AbstractTCNetworkMessage com.tc.net.protocol.tcm.TCMessageImpl
All known Subclasses: com.tc.object.msg.DSOMessageBase,
Method Summary | |
public void | dehydrate() Prepares all instance data into the payload byte buffer array in preparation for sending it. | protected void | dehydrateValues() | public void | doRecycleOnRead() | protected boolean | getBooleanValue() | protected byte | getByteValue() | protected byte[] | getBytesArray() | public MessageChannel | getChannel() | public ChannelID | getChannelID() | protected char | getCharValue() | public ClientID | getClientID() | protected double | getDoubleValue() | protected float | getFloatValue() | protected TCByteBufferInput | getInputStream() | protected int | getIntValue() | protected long | getLongValue() | public TCMessageType | getMessageType() | protected int | getMessageVersion() | protected Object | getObject(TCSerializable target) | protected short | getShortValue() | protected String | getStringValue() | public synchronized void | hydrate() Reads the payload byte buffer data and sets instance data. | protected boolean | hydrateValue(byte name) Subclasses *really* must implement this to set appropriate instance variables with the value of the given name. | protected boolean | isOutputStreamRecycled() | protected void | putNVPair(byte name, boolean value) | protected void | putNVPair(byte name, byte value) | protected void | putNVPair(byte name, char value) | protected void | putNVPair(byte name, double value) | protected void | putNVPair(byte name, float value) | protected void | putNVPair(byte name, int value) | protected void | putNVPair(byte name, long value) | protected void | putNVPair(byte name, short value) | protected void | putNVPair(byte name, String value) | protected void | putNVPair(byte name, TCSerializable object) | protected void | putNVPair(byte name, TCByteBuffer[] data) | protected void | putNVPair(byte name, byte[] bytes) | protected void | recycleOutputStream() | public void | send() | protected void | setMessageVersion(int version) |
dehydrate | public void dehydrate()(Code) | | Prepares all instance data into the payload byte buffer array in preparation for sending it.
|
dehydrateValues | protected void dehydrateValues()(Code) | | |
doRecycleOnRead | public void doRecycleOnRead()(Code) | | |
getMessageVersion | protected int getMessageVersion()(Code) | | |
hydrate | public synchronized void hydrate() throws IOException, UnknownNameException(Code) | | Reads the payload byte buffer data and sets instance data. This should be called after the message is read from the
network before it is released to the client for use. XXX:: This synchronization is there to create proper memory
boundary.
|
hydrateValue | protected boolean hydrateValue(byte name) throws IOException(Code) | | Subclasses *really* must implement this to set appropriate instance variables with the value of the given name.
Return false if the given name is unknown to your message class
Parameters: name - |
isOutputStreamRecycled | protected boolean isOutputStreamRecycled()(Code) | | |
putNVPair | protected void putNVPair(byte name, boolean value)(Code) | | |
putNVPair | protected void putNVPair(byte name, byte value)(Code) | | |
putNVPair | protected void putNVPair(byte name, char value)(Code) | | |
putNVPair | protected void putNVPair(byte name, double value)(Code) | | |
putNVPair | protected void putNVPair(byte name, float value)(Code) | | |
putNVPair | protected void putNVPair(byte name, int value)(Code) | | |
putNVPair | protected void putNVPair(byte name, long value)(Code) | | |
putNVPair | protected void putNVPair(byte name, short value)(Code) | | |
putNVPair | protected void putNVPair(byte name, String value)(Code) | | |
putNVPair | protected void putNVPair(byte name, byte[] bytes)(Code) | | |
recycleOutputStream | protected void recycleOutputStream()(Code) | | |
setMessageVersion | protected void setMessageVersion(int version)(Code) | | |
Fields inherited from com.tc.net.protocol.AbstractTCNetworkMessage | final protected static TCLogger logger(Code)(Java Doc)
|
|
|