public class ProducerAckMarshaller extends BaseCommandMarshaller
STACK_TRACE_ELEMENT_CONSTRUCTOR
Constructor and Description |
---|
ProducerAckMarshaller() |
Modifier and Type | Method and Description |
---|---|
DataStructure |
createObject() |
byte |
getDataStructureType()
Return the type of Data Structure we marshal
|
void |
looseMarshal(OpenWireFormat wireFormat,
Object o,
DataOutput dataOut)
Write the booleans that this object uses to a BooleanStream
|
void |
looseUnmarshal(OpenWireFormat wireFormat,
Object o,
DataInput dataIn)
Un-marshal an object instance from the data input stream
|
int |
tightMarshal1(OpenWireFormat wireFormat,
Object o,
BooleanStream bs)
Write the booleans that this object uses to a BooleanStream
|
void |
tightMarshal2(OpenWireFormat wireFormat,
Object o,
DataOutput dataOut,
BooleanStream bs)
Write a object instance to data output stream
|
void |
tightUnmarshal(OpenWireFormat wireFormat,
Object o,
DataInput dataIn,
BooleanStream bs)
Un-marshal an object instance from the data input stream
|
looseMarshalByteArray, looseMarshalByteSequence, looseMarshalCachedObject, looseMarshalConstByteArray, looseMarshalLong, looseMarshalNestedObject, looseMarshalObjectArray, looseMarshalString, looseMarshalThrowable, looseUnmarsalCachedObject, looseUnmarsalNestedObject, looseUnmarsalThrowable, looseUnmarshalByteArray, looseUnmarshalByteSequence, looseUnmarshalConstByteArray, looseUnmarshalLong, looseUnmarshalString, tightMarshalByteArray1, tightMarshalByteArray2, tightMarshalByteSequence1, tightMarshalByteSequence2, tightMarshalCachedObject1, tightMarshalCachedObject2, tightMarshalConstByteArray1, tightMarshalConstByteArray2, tightMarshalLong1, tightMarshalLong2, tightMarshalNestedObject1, tightMarshalNestedObject2, tightMarshalObjectArray1, tightMarshalObjectArray2, tightMarshalString1, tightMarshalString2, tightMarshalThrowable1, tightMarshalThrowable2, tightUnmarsalCachedObject, tightUnmarsalNestedObject, tightUnmarsalThrowable, tightUnmarshalByteArray, tightUnmarshalByteSequence, tightUnmarshalConstByteArray, tightUnmarshalLong, tightUnmarshalString, toLong, toLong
public ProducerAckMarshaller()
public byte getDataStructureType()
getDataStructureType
in interface DataStreamMarshaller
getDataStructureType
in class BaseDataStreamMarshaller
public DataStructure createObject()
createObject
in interface DataStreamMarshaller
createObject
in class BaseDataStreamMarshaller
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException
tightUnmarshal
in interface DataStreamMarshaller
tightUnmarshal
in class BaseCommandMarshaller
o
- the object to un-marshaldataIn
- the data input stream to build the object fromIOException
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException
tightMarshal1
in interface DataStreamMarshaller
tightMarshal1
in class BaseCommandMarshaller
IOException
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException
tightMarshal2
in interface DataStreamMarshaller
tightMarshal2
in class BaseCommandMarshaller
o
- the instance to be marshaleddataOut
- the output streamIOException
- thrown if an error occurspublic void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException
looseUnmarshal
in interface DataStreamMarshaller
looseUnmarshal
in class BaseCommandMarshaller
o
- the object to un-marshaldataIn
- the data input stream to build the object fromIOException
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException
looseMarshal
in interface DataStreamMarshaller
looseMarshal
in class BaseCommandMarshaller
IOException
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.