com.cloudtran.replicator.isolator
Class LinkLevelBuffer

java.lang.Object
  extended by com.cloudtran.replicator.isolator.LinkLevelBuffer

public class LinkLevelBuffer
extends Object


Field Summary
static int B_INT
           
static int B_LONG
           
static int byteBufferTotalSize
           
static int controlBufferTotalSize
           
static int DATALENGTH_MASK
           
 ReadBuffer.BufferInput input
           
 ReadBuffer.BufferInput inputForInt0Method
           
static HashMap<Integer,String> mapLLBMsgTypeToName
           
static int maximumCRCOffset
           
static int minimumCRCOffset
           
static int MSGTYPE_BASE
           
static int MSGTYPE_DATA
           
static int MSGTYPE_DATAFLOW
           
static int MSGTYPE_KEEPALIVE
           
static int MSGTYPE_MASK
           
static int MSGTYPE_PAUSED
           
static int MSGTYPE_RESYNCHPREPARE
           
static int MSGTYPE_RESYNCHREADY
           
static int MSGTYPE_STOPPED
           
static int MSGTYPE_ZIPPEDDATA
           
 ByteBuffer nioBuffer
           
static int nOverheadBytes
           
static int offsetOfSerializedObject
           
 WriteBuffer.BufferOutput output
           
 ReadBuffer readBuffer
           
static int SHIFT_BITS
           
static int sizeOfCRC
           
static int sizeOfFixedPart
           
static int sizeOfSequenceNumber
           
static int sizeOfTypeAndCrcOffset
           
 WriteBuffer writeBuffer
           
 
Constructor Summary
LinkLevelBuffer(boolean forControlMessages)
           
 
Method Summary
static String getLLBMsgTypeName(int msgType)
           
 String getMsgTypeName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHIFT_BITS

public static final int SHIFT_BITS
See Also:
Constant Field Values

DATALENGTH_MASK

public static final int DATALENGTH_MASK
See Also:
Constant Field Values

MSGTYPE_MASK

public static final int MSGTYPE_MASK
See Also:
Constant Field Values

MSGTYPE_BASE

public static final int MSGTYPE_BASE
See Also:
Constant Field Values

MSGTYPE_RESYNCHPREPARE

public static final int MSGTYPE_RESYNCHPREPARE
See Also:
Constant Field Values

MSGTYPE_RESYNCHREADY

public static final int MSGTYPE_RESYNCHREADY
See Also:
Constant Field Values

MSGTYPE_DATA

public static final int MSGTYPE_DATA
See Also:
Constant Field Values

MSGTYPE_ZIPPEDDATA

public static final int MSGTYPE_ZIPPEDDATA
See Also:
Constant Field Values

MSGTYPE_DATAFLOW

public static final int MSGTYPE_DATAFLOW
See Also:
Constant Field Values

MSGTYPE_PAUSED

public static final int MSGTYPE_PAUSED
See Also:
Constant Field Values

MSGTYPE_STOPPED

public static final int MSGTYPE_STOPPED
See Also:
Constant Field Values

MSGTYPE_KEEPALIVE

public static final int MSGTYPE_KEEPALIVE
See Also:
Constant Field Values

B_INT

public static final int B_INT
See Also:
Constant Field Values

B_LONG

public static final int B_LONG
See Also:
Constant Field Values

sizeOfTypeAndCrcOffset

public static final int sizeOfTypeAndCrcOffset
See Also:
Constant Field Values

sizeOfSequenceNumber

public static final int sizeOfSequenceNumber
See Also:
Constant Field Values

sizeOfFixedPart

public static final int sizeOfFixedPart
See Also:
Constant Field Values

offsetOfSerializedObject

public static final int offsetOfSerializedObject
See Also:
Constant Field Values

sizeOfCRC

public static final int sizeOfCRC
See Also:
Constant Field Values

nOverheadBytes

public static final int nOverheadBytes
See Also:
Constant Field Values

byteBufferTotalSize

public static final int byteBufferTotalSize

controlBufferTotalSize

public static final int controlBufferTotalSize
See Also:
Constant Field Values

minimumCRCOffset

public static final int minimumCRCOffset
See Also:
Constant Field Values

maximumCRCOffset

public static final int maximumCRCOffset

mapLLBMsgTypeToName

public static final HashMap<Integer,String> mapLLBMsgTypeToName

nioBuffer

public ByteBuffer nioBuffer

writeBuffer

public WriteBuffer writeBuffer

output

public WriteBuffer.BufferOutput output

readBuffer

public ReadBuffer readBuffer

input

public ReadBuffer.BufferInput input

inputForInt0Method

public ReadBuffer.BufferInput inputForInt0Method
Constructor Detail

LinkLevelBuffer

public LinkLevelBuffer(boolean forControlMessages)
Method Detail

getMsgTypeName

public String getMsgTypeName()

getLLBMsgTypeName

public static String getLLBMsgTypeName(int msgType)