|
||||||||||
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 | |
---|---|
boolean |
inReceive()
|
ByteSequence |
marshal(Object command)
Packet based marshaling |
void |
marshal(Object command,
DataOutput out)
Stream based marshaling |
abstract String |
marshalText(Object command)
|
Object |
unmarshal(ByteSequence packet)
Packet based un-marshaling |
Object |
unmarshal(DataInput in)
Packet based un-marshaling |
abstract Object |
unmarshalText(Reader reader)
|
abstract Object |
unmarshalText(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 Object unmarshalText(String text)
public abstract Object unmarshalText(Reader reader)
public abstract String marshalText(Object command)
public void marshal(Object command, DataOutput out) throws IOException
WireFormat
marshal
in interface WireFormat
IOException
public Object unmarshal(DataInput in) throws IOException
WireFormat
unmarshal
in interface WireFormat
IOException
public ByteSequence marshal(Object command) throws IOException
WireFormat
marshal
in interface WireFormat
IOException
public Object unmarshal(ByteSequence packet) throws IOException
WireFormat
unmarshal
in interface WireFormat
IOException
public boolean inReceive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |