|
|||||||||||
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.ActiveMQMessageWriter
Writes a ProducerInfo object to a Stream
Constructor Summary | |
ActiveMQMessageWriter()
|
Method Summary | |
int |
getPacketType()
Return the type of Packet |
protected void |
writeMessage(ActiveMQMessage msg,
java.io.DataOutput dataOut)
|
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 ActiveMQMessageWriter()
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 occursprotected void writeMessage(ActiveMQMessage msg, java.io.DataOutput dataOut) throws java.io.IOException
msg
- dataOut
-
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |