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 BrokerInfo

    java.lang.Object
      org.codehaus.activemq.message.AbstractPacket
          org.codehaus.activemq.message.BrokerInfo

All Implemented Interfaces:
  Packet

public class BrokerInfo
extends AbstractPacket

Information about a connected Broker

Field Summary

Fields inherited from interface org.codehaus.activemq.message.Packet
`ACTIVEMQ_BROKER_INFO, ACTIVEMQ_BYTES_MESSAGE, ACTIVEMQ_CONNECTION_INFO, ACTIVEMQ_MAP_MESSAGE, ACTIVEMQ_MESSAGE, ACTIVEMQ_MSG_ACK, ACTIVEMQ_OBJECT_MESSAGE, ACTIVEMQ_STREAM_MESSAGE, ACTIVEMQ_TEXT_MESSAGE, CAPACITY_INFO, CAPACITY_INFO_REQUEST, CONSUMER_INFO, DURABLE_UNSUBSCRIBE, INT_RESPONSE_RECEIPT_INFO, PRODUCER_INFO, RECEIPT_INFO, RESPONSE_RECEIPT_INFO, SESSION_INFO, TRANSACTION_INFO, XA_TRANSACTION_INFO`

Constructor Summary
`BrokerInfo()`

Method Summary
`java.lang.String` | `getBrokerName()`
`java.lang.String` | `getClusterName()`
`int` | `getPacketType()` Return the type of Packet
`java.util.Properties` | `getProperties()`
`long` | `getStartTime()`
`void` | `setBrokerName(java.lang.String newBrokerName)`
`void` | `setClusterName(java.lang.String newClusterName)`
`void` | `setProperties(java.util.Properties newProperties)`
`void` | `setStartTime(long newStartTime)`

Methods inherited from class org.codehaus.activemq.message.AbstractPacket
`decrementMemoryReferenceCount, equals, equals, getId, getMemoryUsage, getMemoryUsageReferenceCount, getPacketTypeAsString, hashCode, incrementMemoryReferenceCount, isJMSMessage, isReceipt, isReceiptRequired, setId, setMemoryUsage, setReceiptRequired, toString`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### BrokerInfo

    public BrokerInfo()

Method Detail

### getPacketType

    public int getPacketType()

  Return the type of Packet

  Returns:
    integer representation of the type of Packet

### getBrokerName

    public java.lang.String getBrokerName()

  Returns:
    Returns the brokerName.

### setBrokerName

    public void setBrokerName(java.lang.String newBrokerName)

  Parameters:
    `newBrokerName` - The brokerName to set.

### getClusterName

    public java.lang.String getClusterName()

  Returns:
    Returns the clusterName.

### setClusterName

    public void setClusterName(java.lang.String newClusterName)

  Parameters:
    `newClusterName` - The clusterName to set.

### getProperties

    public java.util.Properties getProperties()

  Returns:
    Returns the properties.

### setProperties

    public void setProperties(java.util.Properties newProperties)

  Parameters:
    `newProperties` - The properties to set.

### getStartTime

    public long getStartTime()

  Returns:
    Returns the startTime.

### setStartTime

    public void setStartTime(long newStartTime)

  Parameters:
    `newStartTime` - The startTime to set.

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.