Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq.transport.openwire.io
Class ActiveMQMessageMarshaller  view ActiveMQMessageMarshaller download ActiveMQMessageMarshaller.java

java.lang.Object
  extended byorg.activemq.io.impl.AbstractPacketReader
      extended byorg.activemq.io.impl.AbstractPacketMarshaller
          extended byorg.activemq.transport.openwire.OpenWirePacketMarshallerSupport
              extended byorg.activemq.transport.openwire.io.ActiveMQMessageMarshaller
All Implemented Interfaces:
org.activemq.io.impl.PacketReader, org.activemq.io.impl.PacketWriter
Direct Known Subclasses:
ActiveMQBytesMessageMarshaller, ActiveMQMapMessageMarshaller, ActiveMQObjectMessageMarshaller, ActiveMQStreamMessageMarshaller, ActiveMQTextMessageMarshaller

public class ActiveMQMessageMarshaller
extends org.activemq.transport.openwire.OpenWirePacketMarshallerSupport

AUTOGENERATED Marshaller for OpenWire command ActiveMQMessage

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class org.activemq.io.impl.AbstractPacketMarshaller
wireFormatVersion
 
Constructor Summary
ActiveMQMessageMarshaller()
           
 
Method Summary
 void buildPacket(org.activemq.message.Packet packet, java.io.DataInput dataIn)
          build a Packet instance from the data input stream
 org.activemq.message.Packet createPacket()
           
 int getPacketType()
          Return the type of Packet
 void writePacket(org.activemq.message.Packet packet, java.io.DataOutput dataOut)
          Write a Packet instance to data output stream
 
Methods inherited from class org.activemq.transport.openwire.OpenWirePacketMarshallerSupport
readBoolean, readBytes, readDestination, readProperties, readString, writeBoolean, writeBytes, writeDestination, writeDestination, writeProperties, writeProperties, writeString
 
Methods inherited from class org.activemq.io.impl.AbstractPacketMarshaller
canWrite, getWireFormatVersion, setWireFormatVersion, writeObject, writePacketToByteArray, writeUTF
 
Methods inherited from class org.activemq.io.impl.AbstractPacketReader
canRead, readObject, readPacketFromByteArray, readUTF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveMQMessageMarshaller

public ActiveMQMessageMarshaller()
Method Detail

getPacketType

public int getPacketType()
Return the type of Packet


createPacket

public org.activemq.message.Packet createPacket()

buildPacket

public void buildPacket(org.activemq.message.Packet packet,
                        java.io.DataInput dataIn)
                 throws java.io.IOException
build a Packet instance from the data input stream


writePacket

public void writePacket(org.activemq.message.Packet packet,
                        java.io.DataOutput dataOut)
                 throws java.io.IOException
Write a Packet instance to data output stream