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