anon.proxy
Class ProxyCallbackBuffer
java.lang.Object
anon.proxy.ProxyCallbackBuffer
public class ProxyCallbackBuffer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
chunk
private byte[] chunk
modificationStartOffset
private int modificationStartOffset
modificationEndOffset
private int modificationEndOffset
payloadLength
private int payloadLength
status
private int status
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)
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()