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

Quick Search    Search Deep

org.activemq.io.impl
Class CapacityInfoReader  view CapacityInfoReader download CapacityInfoReader.java

java.lang.Object
  extended byorg.activemq.io.impl.AbstractPacketReader
      extended byorg.activemq.io.impl.CapacityInfoReader
All Implemented Interfaces:
PacketReader

public class CapacityInfoReader
extends AbstractPacketReader

Reads a CapacityInfo object from a Stream

Version:
$Revision: 1.1.1.1 $

Field Summary
 
Fields inherited from class org.activemq.io.impl.AbstractPacketReader
wireFormatVersion
 
Constructor Summary
CapacityInfoReader()
           
 
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
 
Methods inherited from class org.activemq.io.impl.AbstractPacketReader
canRead, getWireFormatVersion, readObject, readPacketFromByteArray, readUTF, setWireFormatVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapacityInfoReader

public CapacityInfoReader()
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

Specified by:
buildPacket in interface PacketReader
Overrides:
buildPacket in class AbstractPacketReader