org.apache.activemq.command
Class BaseEndpoint

java.lang.Object
  extended by org.apache.activemq.command.BaseEndpoint
All Implemented Interfaces:
Endpoint
Direct Known Subclasses:
DatagramEndpoint

public class BaseEndpoint
extends java.lang.Object
implements Endpoint

A default endpoint.


Constructor Summary
BaseEndpoint(java.lang.String name)
           
 
Method Summary
 BrokerId getBrokerId()
          Returns the broker ID for this endpoint, if the endpoint is a broker or null
 BrokerInfo getBrokerInfo()
          Returns the broker information for this endpoint, if the endpoint is a broker or null
 java.lang.String getName()
          Returns the name of the endpoint.
 void setBrokerInfo(BrokerInfo brokerInfo)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseEndpoint

public BaseEndpoint(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Endpoint
Returns the name of the endpoint.

Specified by:
getName in interface Endpoint

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBrokerId

public BrokerId getBrokerId()
Returns the broker ID for this endpoint, if the endpoint is a broker or null

Specified by:
getBrokerId in interface Endpoint

getBrokerInfo

public BrokerInfo getBrokerInfo()
Returns the broker information for this endpoint, if the endpoint is a broker or null

Specified by:
getBrokerInfo in interface Endpoint

setBrokerInfo

public void setBrokerInfo(BrokerInfo brokerInfo)
Specified by:
setBrokerInfo in interface Endpoint


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.