org.apache.activemq.transport.util
Class TextWireFormat
java.lang.Object
org.apache.activemq.transport.util.TextWireFormat
- All Implemented Interfaces:
- WireFormat
- Direct Known Subclasses:
- XStreamWireFormat
public abstract class TextWireFormat
- extends java.lang.Object
- implements WireFormat
Adds the extra methods available to text based wire format implementations
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextWireFormat
public TextWireFormat()
unmarshalText
public abstract java.lang.Object unmarshalText(java.lang.String text)
throws java.io.IOException
- Throws:
java.io.IOException
unmarshalText
public abstract java.lang.Object unmarshalText(java.io.Reader reader)
throws java.io.IOException
- Throws:
java.io.IOException
marshalText
public abstract java.lang.String marshalText(java.lang.Object command)
throws java.io.IOException
- Throws:
java.io.IOException
marshal
public void marshal(java.lang.Object command,
java.io.DataOutput out)
throws java.io.IOException
- Specified by:
marshal in interface WireFormat
- Throws:
java.io.IOException
unmarshal
public java.lang.Object unmarshal(java.io.DataInput in)
throws java.io.IOException
- Specified by:
unmarshal in interface WireFormat
- Throws:
java.io.IOException
marshal
public ByteSequence marshal(java.lang.Object command)
throws java.io.IOException
- Specified by:
marshal in interface WireFormat
- Throws:
java.io.IOException
unmarshal
public java.lang.Object unmarshal(ByteSequence packet)
throws java.io.IOException
- Specified by:
unmarshal in interface WireFormat
- Throws:
java.io.IOException
inReceive
public boolean inReceive()
Copyright © 2005-2012 FuseSource, Corp.. All Rights Reserved.