public abstract class BaseDataStreamMarshaller extends Object implements DataStreamMarshaller
| Modifier and Type | Field and Description |
|---|---|
static Constructor |
STACK_TRACE_ELEMENT_CONSTRUCTOR |
| Constructor and Description |
|---|
BaseDataStreamMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
abstract DataStructure |
createObject() |
abstract byte |
getDataStructureType() |
void |
looseMarshal(OpenWireFormat wireFormat,
Object o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) |
protected void |
looseMarshalBuffer(OpenWireFormat wireFormat,
org.fusesource.hawtbuf.Buffer data,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) |
protected void |
looseMarshalByteArray(OpenWireFormat wireFormat,
byte[] data,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) |
protected void |
looseMarshalCachedObject(OpenWireFormat wireFormat,
DataStructure o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) |
protected void |
looseMarshalConstByteArray(OpenWireFormat wireFormat,
byte[] data,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
int i) |
void |
looseMarshalLong(OpenWireFormat wireFormat,
long o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) |
protected void |
looseMarshalNestedObject(OpenWireFormat wireFormat,
DataStructure o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) |
protected void |
looseMarshalObjectArray(OpenWireFormat wireFormat,
DataStructure[] objects,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) |
protected void |
looseMarshalString(org.fusesource.hawtbuf.UTF8Buffer value,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) |
protected void |
looseMarshalThrowable(OpenWireFormat wireFormat,
Throwable o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) |
protected DataStructure |
looseUnmarsalCachedObject(OpenWireFormat wireFormat,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) |
protected DataStructure |
looseUnmarsalNestedObject(OpenWireFormat wireFormat,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) |
protected Throwable |
looseUnmarsalThrowable(OpenWireFormat wireFormat,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) |
void |
looseUnmarshal(OpenWireFormat wireFormat,
Object o,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) |
protected org.fusesource.hawtbuf.Buffer |
looseUnmarshalBuffer(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) |
protected byte[] |
looseUnmarshalByteArray(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) |
protected byte[] |
looseUnmarshalConstByteArray(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
int i) |
long |
looseUnmarshalLong(OpenWireFormat wireFormat,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) |
protected org.fusesource.hawtbuf.UTF8Buffer |
looseUnmarshalString(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) |
int |
tightMarshal1(OpenWireFormat wireFormat,
Object o,
BooleanStream bs) |
void |
tightMarshal2(OpenWireFormat wireFormat,
Object o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs) |
protected int |
tightMarshalBuffer1(org.fusesource.hawtbuf.Buffer data,
BooleanStream bs) |
protected void |
tightMarshalBuffer2(org.fusesource.hawtbuf.Buffer data,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs) |
protected int |
tightMarshalByteArray1(byte[] data,
BooleanStream bs) |
protected void |
tightMarshalByteArray2(byte[] data,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs) |
protected int |
tightMarshalCachedObject1(OpenWireFormat wireFormat,
DataStructure o,
BooleanStream bs) |
protected void |
tightMarshalCachedObject2(OpenWireFormat wireFormat,
DataStructure o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs) |
protected int |
tightMarshalConstByteArray1(byte[] data,
BooleanStream bs,
int i) |
protected void |
tightMarshalConstByteArray2(byte[] data,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs,
int i) |
int |
tightMarshalLong1(OpenWireFormat wireFormat,
long o,
BooleanStream bs) |
void |
tightMarshalLong2(OpenWireFormat wireFormat,
long o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs) |
protected int |
tightMarshalNestedObject1(OpenWireFormat wireFormat,
DataStructure o,
BooleanStream bs) |
protected void |
tightMarshalNestedObject2(OpenWireFormat wireFormat,
DataStructure o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs) |
protected int |
tightMarshalObjectArray1(OpenWireFormat wireFormat,
DataStructure[] objects,
BooleanStream bs) |
protected void |
tightMarshalObjectArray2(OpenWireFormat wireFormat,
DataStructure[] objects,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs) |
protected int |
tightMarshalString1(org.fusesource.hawtbuf.UTF8Buffer value,
BooleanStream bs) |
protected void |
tightMarshalString2(org.fusesource.hawtbuf.UTF8Buffer value,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs) |
protected int |
tightMarshalThrowable1(OpenWireFormat wireFormat,
Throwable o,
BooleanStream bs) |
protected void |
tightMarshalThrowable2(OpenWireFormat wireFormat,
Throwable o,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs) |
protected DataStructure |
tightUnmarsalCachedObject(OpenWireFormat wireFormat,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs) |
protected DataStructure |
tightUnmarsalNestedObject(OpenWireFormat wireFormat,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs) |
protected Throwable |
tightUnmarsalThrowable(OpenWireFormat wireFormat,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs) |
void |
tightUnmarshal(OpenWireFormat wireFormat,
Object o,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs) |
protected org.fusesource.hawtbuf.Buffer |
tightUnmarshalBuffer(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs) |
protected byte[] |
tightUnmarshalByteArray(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs) |
protected byte[] |
tightUnmarshalConstByteArray(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs,
int i) |
long |
tightUnmarshalLong(OpenWireFormat wireFormat,
org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs) |
protected org.fusesource.hawtbuf.UTF8Buffer |
tightUnmarshalString(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs) |
protected long |
toLong(int value) |
protected long |
toLong(short value) |
public static final Constructor STACK_TRACE_ELEMENT_CONSTRUCTOR
public abstract byte getDataStructureType()
getDataStructureType in interface DataStreamMarshallerpublic abstract DataStructure createObject()
createObject in interface DataStreamMarshallerpublic int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException
tightMarshal1 in interface DataStreamMarshallerIOExceptionpublic void tightMarshal2(OpenWireFormat wireFormat, Object o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut, BooleanStream bs) throws IOException
tightMarshal2 in interface DataStreamMarshallerIOExceptionpublic void tightUnmarshal(OpenWireFormat wireFormat, Object o, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn, BooleanStream bs) throws IOException
tightUnmarshal in interface DataStreamMarshallerIOExceptionpublic int tightMarshalLong1(OpenWireFormat wireFormat, long o, BooleanStream bs) throws IOException
IOExceptionpublic void tightMarshalLong2(OpenWireFormat wireFormat, long o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut, BooleanStream bs) throws IOException
IOExceptionpublic long tightUnmarshalLong(OpenWireFormat wireFormat, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn, BooleanStream bs) throws IOException
IOExceptionprotected long toLong(short value)
protected long toLong(int value)
protected DataStructure tightUnmarsalNestedObject(OpenWireFormat wireFormat, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn, BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalNestedObject1(OpenWireFormat wireFormat, DataStructure o, BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalNestedObject2(OpenWireFormat wireFormat, DataStructure o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut, BooleanStream bs) throws IOException
IOExceptionprotected DataStructure tightUnmarsalCachedObject(OpenWireFormat wireFormat, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn, BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalCachedObject1(OpenWireFormat wireFormat, DataStructure o, BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalCachedObject2(OpenWireFormat wireFormat, DataStructure o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut, BooleanStream bs) throws IOException
IOExceptionprotected Throwable tightUnmarsalThrowable(OpenWireFormat wireFormat, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn, BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalThrowable1(OpenWireFormat wireFormat, Throwable o, BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalThrowable2(OpenWireFormat wireFormat, Throwable o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut, BooleanStream bs) throws IOException
IOExceptionprotected org.fusesource.hawtbuf.UTF8Buffer tightUnmarshalString(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs)
throws IOException
IOExceptionprotected int tightMarshalString1(org.fusesource.hawtbuf.UTF8Buffer value,
BooleanStream bs)
throws IOException
IOExceptionprotected void tightMarshalString2(org.fusesource.hawtbuf.UTF8Buffer value,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs)
throws IOException
IOExceptionprotected int tightMarshalObjectArray1(OpenWireFormat wireFormat, DataStructure[] objects, BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalObjectArray2(OpenWireFormat wireFormat, DataStructure[] objects, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut, BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalConstByteArray1(byte[] data,
BooleanStream bs,
int i)
throws IOException
IOExceptionprotected void tightMarshalConstByteArray2(byte[] data,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs,
int i)
throws IOException
IOExceptionprotected byte[] tightUnmarshalConstByteArray(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs,
int i)
throws IOException
IOExceptionprotected int tightMarshalByteArray1(byte[] data,
BooleanStream bs)
throws IOException
IOExceptionprotected void tightMarshalByteArray2(byte[] data,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs)
throws IOException
IOExceptionprotected byte[] tightUnmarshalByteArray(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs)
throws IOException
IOExceptionprotected int tightMarshalBuffer1(org.fusesource.hawtbuf.Buffer data,
BooleanStream bs)
throws IOException
IOExceptionprotected void tightMarshalBuffer2(org.fusesource.hawtbuf.Buffer data,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
BooleanStream bs)
throws IOException
IOExceptionprotected org.fusesource.hawtbuf.Buffer tightUnmarshalBuffer(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
BooleanStream bs)
throws IOException
IOExceptionpublic void looseMarshal(OpenWireFormat wireFormat, Object o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) throws IOException
looseMarshal in interface DataStreamMarshallerIOExceptionpublic void looseUnmarshal(OpenWireFormat wireFormat, Object o, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) throws IOException
looseUnmarshal in interface DataStreamMarshallerIOExceptionpublic void looseMarshalLong(OpenWireFormat wireFormat, long o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) throws IOException
IOExceptionpublic long looseUnmarshalLong(OpenWireFormat wireFormat, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) throws IOException
IOExceptionprotected DataStructure looseUnmarsalNestedObject(OpenWireFormat wireFormat, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) throws IOException
IOExceptionprotected void looseMarshalNestedObject(OpenWireFormat wireFormat, DataStructure o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) throws IOException
IOExceptionprotected DataStructure looseUnmarsalCachedObject(OpenWireFormat wireFormat, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) throws IOException
IOExceptionprotected void looseMarshalCachedObject(OpenWireFormat wireFormat, DataStructure o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) throws IOException
IOExceptionprotected Throwable looseUnmarsalThrowable(OpenWireFormat wireFormat, org.fusesource.hawtbuf.DataByteArrayInputStream dataIn) throws IOException
IOExceptionprotected void looseMarshalThrowable(OpenWireFormat wireFormat, Throwable o, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) throws IOException
IOExceptionprotected org.fusesource.hawtbuf.UTF8Buffer looseUnmarshalString(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn)
throws IOException
IOExceptionprotected void looseMarshalString(org.fusesource.hawtbuf.UTF8Buffer value,
org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut)
throws IOException
IOExceptionprotected void looseMarshalObjectArray(OpenWireFormat wireFormat, DataStructure[] objects, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) throws IOException
IOExceptionprotected void looseMarshalConstByteArray(OpenWireFormat wireFormat, byte[] data, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut, int i) throws IOException
IOExceptionprotected byte[] looseUnmarshalConstByteArray(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn,
int i)
throws IOException
IOExceptionprotected void looseMarshalByteArray(OpenWireFormat wireFormat, byte[] data, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) throws IOException
IOExceptionprotected byte[] looseUnmarshalByteArray(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn)
throws IOException
IOExceptionprotected void looseMarshalBuffer(OpenWireFormat wireFormat, org.fusesource.hawtbuf.Buffer data, org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut) throws IOException
IOExceptionprotected org.fusesource.hawtbuf.Buffer looseUnmarshalBuffer(org.fusesource.hawtbuf.DataByteArrayInputStream dataIn)
throws IOException
IOExceptionCopyright © 2011–2015 Red Hat. All rights reserved.