java.lang.Object
org.activemq.io.impl.AbstractPacketReader
org.activemq.io.impl.AbstractPacketMarshaller
org.activemq.transport.openwire.OpenWirePacketMarshallerSupport
- All Implemented Interfaces:
- org.activemq.io.impl.PacketReader, org.activemq.io.impl.PacketWriter
- public abstract class OpenWirePacketMarshallerSupport
- extends org.activemq.io.impl.AbstractPacketMarshaller
- Version:
- $Revision: 1.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenWirePacketMarshallerSupport
public OpenWirePacketMarshallerSupport()
writePacket
public void writePacket(org.activemq.message.Packet packet,
java.io.DataOutput dataOut)
throws java.io.IOException
- Description copied from class:
org.activemq.io.impl.AbstractPacketMarshaller
- Write a Packet instance to data output stream
buildPacket
public void buildPacket(org.activemq.message.Packet p,
java.io.DataInput dataIn)
throws java.io.IOException
- Description copied from class:
org.activemq.io.impl.AbstractPacketReader
- build a Packet instance from the data input stream
writeProperties
public void writeProperties(java.util.Map map,
java.io.DataOutput dataOut)
throws java.io.IOException
writeProperties
public void writeProperties(java.util.Properties properties,
java.io.DataOutput dataOut)
throws java.io.IOException
readProperties
public java.util.Properties readProperties(java.io.DataInput dataIn)
throws java.io.IOException
readDestination
protected org.activemq.message.ActiveMQDestination readDestination(java.io.DataInput dataIn)
throws java.io.IOException
- Description copied from class:
org.activemq.io.impl.AbstractPacketMarshaller
- Reads a destination from the input stream
writeDestination
protected void writeDestination(javax.jms.Destination destination,
java.io.DataOutput dataOut)
throws java.io.IOException
writeDestination
protected void writeDestination(org.activemq.message.ActiveMQDestination destination,
java.io.DataOutput dataOut)
throws java.io.IOException
- Description copied from class:
org.activemq.io.impl.AbstractPacketMarshaller
- Writes the given destination to the stream
readString
protected java.lang.String readString(java.io.DataInput dataIn)
throws java.io.IOException
writeString
protected void writeString(java.lang.String text,
java.io.DataOutput dataOut)
throws java.io.IOException
readBytes
protected byte[] readBytes(java.io.DataInput dataIn)
throws java.io.IOException
writeBytes
protected void writeBytes(byte[] data,
java.io.DataOutput dataOut)
throws java.io.IOException
writeBoolean
protected void writeBoolean(boolean value,
java.io.DataOutput dataOut)
throws java.io.IOException
readBoolean
protected boolean readBoolean(java.io.DataInput dataIn)
throws java.io.IOException