|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.activemq.message.AbstractPacketWriter
org.codehaus.activemq.message.CapacityInfoWriter
Writes a CapacityInfo object to a Stream
Constructor Summary | |
CapacityInfoWriter()
|
Method Summary | |
int |
getPacketType()
Return the type of Packet |
void |
writePacket(Packet packet,
java.io.DataOutput dataOut)
Write a Packet instance to data output stream |
Methods inherited from class org.codehaus.activemq.message.AbstractPacketWriter |
canWrite, writeObject, writePacketToByteArray, writeUTF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CapacityInfoWriter()
Method Detail |
public int getPacketType()
public void writePacket(Packet packet, java.io.DataOutput dataOut) throws java.io.IOException
writePacket
in interface PacketWriter
writePacket
in class AbstractPacketWriter
packet
- the instance to be seralizeddataOut
- the output stream
java.io.IOException
- thrown if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |