Class TextWireFormat
java.lang.Object
org.apache.activemq.transport.util.TextWireFormat
- All Implemented Interfaces:
org.apache.activemq.wireformat.WireFormat
- Direct Known Subclasses:
XStreamWireFormat
public abstract class TextWireFormat
extends Object
implements org.apache.activemq.wireformat.WireFormat
Adds the extra methods available to text based wire format implementations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidmarshal(Object command, DataOutput out) abstract StringmarshalText(Object command) unmarshal(ByteSequence packet) abstract ObjectunmarshalText(Reader reader) abstract ObjectunmarshalText(String text) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.wireformat.WireFormat
getVersion, setVersion
-
Constructor Details
-
TextWireFormat
public TextWireFormat()
-
-
Method Details
-
unmarshalText
- Throws:
IOException
-
unmarshalText
- Throws:
IOException
-
marshalText
- Throws:
IOException
-
marshal
- Specified by:
marshalin interfaceorg.apache.activemq.wireformat.WireFormat- Throws:
IOException
-
unmarshal
- Specified by:
unmarshalin interfaceorg.apache.activemq.wireformat.WireFormat- Throws:
IOException
-
marshal
- Specified by:
marshalin interfaceorg.apache.activemq.wireformat.WireFormat- Throws:
IOException
-
unmarshal
- Specified by:
unmarshalin interfaceorg.apache.activemq.wireformat.WireFormat- Throws:
IOException
-
inReceive
public boolean inReceive()
-