| java.lang.Object com.tc.net.protocol.AbstractTCNetworkHeader
All known Subclasses: com.tc.net.protocol.transport.WireProtocolHeader, com.tc.net.protocol.GenericNetworkHeader, com.tc.net.protocol.delivery.OOOProtocolMessageHeader, com.tc.net.protocol.tcm.TCMessageHeaderImpl,
AbstractTCNetworkHeader | abstract public class AbstractTCNetworkHeader implements TCNetworkHeader(Code) | | TODO: document me
author: teck |
LENGTH_NOT_AVAIL | final protected static int LENGTH_NOT_AVAIL(Code) | | |
maxLength | final protected int maxLength(Code) | | |
minLength | final protected int minLength(Code) | | |
AbstractTCNetworkHeader | protected AbstractTCNetworkHeader(TCByteBuffer buffer, int min, int max)(Code) | | |
AbstractTCNetworkHeader | protected AbstractTCNetworkHeader(int min, int max)(Code) | | |
computeAdler32Checksum | protected long computeAdler32Checksum(int pos, boolean set)(Code) | | |
get4BitValue | protected byte get4BitValue(int pos, boolean high)(Code) | | |
getByte | protected byte getByte(int index)(Code) | | |
getBytes | protected byte[] getBytes(int offset, int len)(Code) | | |
getOptions | public byte[] getOptions()(Code) | | |
isHeaderLengthAvail | protected boolean isHeaderLengthAvail()(Code) | | Override this method to allow protocol parsers to wait before asking getHeaderByteLength() . This is
really only useful if your header length data is not the first byte of your header
true if the length of this header is available |
recycle | public void recycle()(Code) | | |
set4BitValue | protected void set4BitValue(int pos, boolean high, byte value)(Code) | | |
setHeaderLength | abstract protected void setHeaderLength(short headerLength)(Code) | | |
setLimit | protected void setLimit(int newLimit)(Code) | | |
setOptions | public void setOptions(byte[] options)(Code) | | Parameters: options - zero-padded header option bytes. The byte array can be zero length and/or null to indicate that nooptions should be set in this header |
|
|