Package org.apache.activemq.command
Class BaseEndpoint
- java.lang.Object
-
- org.apache.activemq.command.BaseEndpoint
-
- All Implemented Interfaces:
Endpoint
- Direct Known Subclasses:
DatagramEndpoint
public class BaseEndpoint extends Object implements Endpoint
A default endpoint.
-
-
Constructor Summary
Constructors Constructor Description BaseEndpoint(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrokerIdgetBrokerId()Returns the broker ID for this endpoint, if the endpoint is a broker or nullBrokerInfogetBrokerInfo()Returns the broker information for this endpoint, if the endpoint is a broker or nullStringgetName()Returns the name of the endpoint.voidsetBrokerInfo(BrokerInfo brokerInfo)StringtoString()
-
-
-
Constructor Detail
-
BaseEndpoint
public BaseEndpoint(String name)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:EndpointReturns the name of the endpoint.
-
getBrokerId
public BrokerId getBrokerId()
Returns the broker ID for this endpoint, if the endpoint is a broker or null- Specified by:
getBrokerIdin interfaceEndpoint
-
getBrokerInfo
public BrokerInfo getBrokerInfo()
Returns the broker information for this endpoint, if the endpoint is a broker or null- Specified by:
getBrokerInfoin interfaceEndpoint
-
setBrokerInfo
public void setBrokerInfo(BrokerInfo brokerInfo)
- Specified by:
setBrokerInfoin interfaceEndpoint
-
-