public abstract class MockMarshallingContext
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayBuffer |
_current |
| Constructor and Description |
|---|
MockMarshallingContext(ObjectContainer objectContainer) |
| Modifier and Type | Method and Description |
|---|---|
protected ObjectContainerBase |
container() |
WriteBuffer |
newBuffer(int length) |
ObjectContainer |
objectContainer() |
int |
offset() |
byte |
readByte() |
void |
readBytes(byte[] bytes) |
int |
readInt() |
long |
readLong() |
java.lang.Object |
readObject() |
void |
seek(int offset) |
void |
seekCurrentInt() |
Transaction |
transaction() |
void |
useVariableLength() |
void |
writeByte(byte b) |
void |
writeBytes(byte[] bytes) |
void |
writeInt(int i) |
void |
writeLong(long l) |
void |
writeObject(java.lang.Object obj) |
protected ByteArrayBuffer _current
public MockMarshallingContext(ObjectContainer objectContainer)
public WriteBuffer newBuffer(int length)
public ObjectContainer objectContainer()
public void useVariableLength()
public byte readByte()
public void readBytes(byte[] bytes)
public int readInt()
public long readLong()
public void writeByte(byte b)
public void writeInt(int i)
public void writeLong(long l)
public void writeBytes(byte[] bytes)
public java.lang.Object readObject()
public void writeObject(java.lang.Object obj)
public Transaction transaction()
protected ObjectContainerBase container()
public int offset()
public void seek(int offset)
public void seekCurrentInt()