anon.proxy
Class ProxyCallbackBuffer

java.lang.Object
  extended by anon.proxy.ProxyCallbackBuffer

public class ProxyCallbackBuffer
extends java.lang.Object


Field Summary
private  byte[] chunk
           
private  int modificationEndOffset
           
private  int modificationStartOffset
           
private  int payloadLength
           
private  int status
           
 
Constructor Summary
ProxyCallbackBuffer()
           
ProxyCallbackBuffer(byte[] chunk)
           
ProxyCallbackBuffer(byte[] chunk, int modifcationStartOffset, int payloadLength)
           
ProxyCallbackBuffer(byte[] chunk, int modifcationStartOffset, int modifcationEndOffset, int payloadLength)
           
 
Method Summary
 void copyLeadingData(byte[] dest)
           
 void copyLeadingData(byte[] dest, int destPos)
           
 void copyLeadingData(java.io.ByteArrayOutputStream dest)
           
 void copyTrailingData(byte[] dest, int destPos)
           
 void copyTrailingData(java.io.ByteArrayOutputStream dest)
           
 byte[] getChunk()
           
 int getLeadingDataLength()
           
 int getModificationEndOffset()
           
 int getModificationStartOffset()
           
 int getPayloadLength()
           
 int getStatus()
           
 int getTrailingDataLength()
           
 void setChunk(byte[] chunk)
           
 void setModificationEndOffset(int modificationEndOffset)
           
 void setModificationStartOffset(int modificationStartOffset)
           
 void setPayloadLength(int payloadLength)
           
 void setStatus(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chunk

private byte[] chunk

modificationStartOffset

private int modificationStartOffset

modificationEndOffset

private int modificationEndOffset

payloadLength

private int payloadLength

status

private int status
Constructor Detail

ProxyCallbackBuffer

public ProxyCallbackBuffer()

ProxyCallbackBuffer

public ProxyCallbackBuffer(byte[] chunk)

ProxyCallbackBuffer

public ProxyCallbackBuffer(byte[] chunk,
                           int modifcationStartOffset,
                           int payloadLength)

ProxyCallbackBuffer

public ProxyCallbackBuffer(byte[] chunk,
                           int modifcationStartOffset,
                           int modifcationEndOffset,
                           int payloadLength)
Method Detail

getChunk

public byte[] getChunk()

setChunk

public void setChunk(byte[] chunk)

getModificationStartOffset

public int getModificationStartOffset()

setModificationStartOffset

public void setModificationStartOffset(int modificationStartOffset)

getModificationEndOffset

public int getModificationEndOffset()

setModificationEndOffset

public void setModificationEndOffset(int modificationEndOffset)

getPayloadLength

public int getPayloadLength()

setPayloadLength

public void setPayloadLength(int payloadLength)

getStatus

public int getStatus()

setStatus

public void setStatus(int status)

copyLeadingData

public void copyLeadingData(java.io.ByteArrayOutputStream dest)

copyLeadingData

public void copyLeadingData(byte[] dest)

copyLeadingData

public void copyLeadingData(byte[] dest,
                            int destPos)

copyTrailingData

public void copyTrailingData(java.io.ByteArrayOutputStream dest)

copyTrailingData

public void copyTrailingData(byte[] dest,
                             int destPos)

getLeadingDataLength

public int getLeadingDataLength()

getTrailingDataLength

public int getTrailingDataLength()