org.activemq.io
Class TextWireFormat
java.lang.Object
org.activemq.io.AbstractWireFormat
org.activemq.io.TextWireFormat
- All Implemented Interfaces:
- WireFormat
- public abstract class TextWireFormat
- extends AbstractWireFormat
Represents a text based WireFormat such as one that uses XML packets like the
org.activemq.transport.xstream.XStreamWireFormat
or the
JabberWireFormat
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class org.activemq.io.AbstractWireFormat |
doesSupportMessageCompression, doesSupportMessageFragmentation, fromBytes, fromBytes, getTransportDataIn, getTransportDataOut, initiateClientSideProtocol, initiateServerSideProtocol, isCachingEnabled, readPacket, readPacket, registerTransportStreams, setCachingEnabled, setTransportDataIn, setTransportDataOut, toBytes, writePacket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextWireFormat
public TextWireFormat()
toString
public abstract String toString(Packet packet)
throws JMSException
- Converts the packet into a String
- Throws:
JMSException
fromString
public abstract Packet fromString(String text)
throws JMSException
- Converts the String into a Packet
- Throws:
JMSException
Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.