|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.transport.util.TextWireFormat
public abstract class TextWireFormat
Adds the extra methods available to text based wire format implementations
Constructor Summary | |
---|---|
TextWireFormat()
|
Method Summary | |
---|---|
ByteSequence |
marshal(java.lang.Object command)
Packet based marshaling |
void |
marshal(java.lang.Object command,
java.io.DataOutput out)
Stream based marshaling |
abstract java.lang.String |
marshalText(java.lang.Object command)
|
java.lang.Object |
unmarshal(ByteSequence packet)
Packet based un-marshaling |
java.lang.Object |
unmarshal(java.io.DataInput in)
Packet based un-marshaling |
abstract java.lang.Object |
unmarshalText(java.io.Reader reader)
|
abstract java.lang.Object |
unmarshalText(java.lang.String text)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.activemq.wireformat.WireFormat |
---|
getVersion, setVersion |
Constructor Detail |
---|
public TextWireFormat()
Method Detail |
---|
public abstract java.lang.Object unmarshalText(java.lang.String text)
public abstract java.lang.Object unmarshalText(java.io.Reader reader)
public abstract java.lang.String marshalText(java.lang.Object command)
public void marshal(java.lang.Object command, java.io.DataOutput out) throws java.io.IOException
WireFormat
marshal
in interface WireFormat
java.io.IOException
public java.lang.Object unmarshal(java.io.DataInput in) throws java.io.IOException
WireFormat
unmarshal
in interface WireFormat
java.io.IOException
public ByteSequence marshal(java.lang.Object command) throws java.io.IOException
WireFormat
marshal
in interface WireFormat
java.io.IOException
public java.lang.Object unmarshal(ByteSequence packet) throws java.io.IOException
WireFormat
unmarshal
in interface WireFormat
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |