org.activemq.io.impl
Class DurableUnsubscribeReader
java.lang.Object
org.activemq.io.impl.AbstractPacketReader
org.activemq.io.impl.DurableUnsubscribeReader
- All Implemented Interfaces:
- PacketReader
public class DurableUnsubscribeReader
- extends AbstractPacketReader
Reads a DurableUnsubscribe object from a Stream
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DurableUnsubscribeReader
public DurableUnsubscribeReader()
getPacketType
public int getPacketType()
- Return the type of Packet
- Returns:
- integer representation of the type of Packet
createPacket
public Packet createPacket()
- Returns:
- a new Packet instance
buildPacket
public void buildPacket(Packet packet,
DataInput dataIn)
throws IOException
- build a Packet instance from the data input stream
- Specified by:
buildPacket
in interface PacketReader
- Overrides:
buildPacket
in class AbstractPacketReader
- Parameters:
packet
- A Packet objectdataIn
- the data input stream to build the packet from
- Throws:
IOException
Copyright © 2004-2009 Protique, Ltd.. All Rights Reserved.