Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.activemq.message
Class BrokerInfoWriter

    java.lang.Object
      org.codehaus.activemq.message.AbstractPacketWriter
          org.codehaus.activemq.message.BrokerInfoWriter

All Implemented Interfaces:
  PacketWriter

public class BrokerInfoWriter
extends AbstractPacketWriter

Writes a ConsumerInfo object to a Stream

Constructor Summary
`BrokerInfoWriter()`

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

### BrokerInfoWriter

    public BrokerInfoWriter()

Method Detail

### getPacketType

    public int getPacketType()

  Return the type of Packet

  Returns:
    integer representation of the type of Packet

### writePacket

    public void writePacket(Packet packet,
                            java.io.DataOutput dataOut)
                     throws java.io.IOException

  Write a Packet instance to data output stream

  Specified by:
    `writePacket` in interface `PacketWriter`
  Overrides:
    `writePacket` in class `AbstractPacketWriter`
  Parameters:
    `packet` - the instance to be seralized
    `dataOut` - the output stream
  Throws:
    `java.io.IOException` - thrown if an error occurs

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Protique, Ltd.. All Rights Reserved.