org.codehaus.activemq.message
Class TextWireFormat
java.lang.Object
org.codehaus.activemq.message.WireFormat
org.codehaus.activemq.message.TextWireFormat
- Direct Known Subclasses:
- XStreamWireFormat
- public abstract class TextWireFormat
- extends WireFormat
Represents a text based WireFormat such as one that uses XML packets like the
XStreamWireFormat
or the
JabberWireFormat
- Version:
- $Revision: 1.1 $
Methods inherited from class org.codehaus.activemq.message.WireFormat |
canProcessWireFormatVersion, copy, fromBytes, fromBytes, getCurrentWireFormatVersion, readPacket, readPacket, readPacket, toBytes, writePacket, 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 Protique, Ltd.. All Rights Reserved.