Package org.apache.activemq.command
Class BaseEndpoint
java.lang.Object
org.apache.activemq.command.BaseEndpoint
- All Implemented Interfaces:
Endpoint
- Direct Known Subclasses:
DatagramEndpoint
A default endpoint.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the broker ID for this endpoint, if the endpoint is a broker or nullReturns the broker information for this endpoint, if the endpoint is a broker or nullgetName()
Returns the name of the endpoint.void
setBrokerInfo
(BrokerInfo brokerInfo) toString()
-
Constructor Details
-
BaseEndpoint
-
-
Method Details
-
getName
Description copied from interface:Endpoint
Returns the name of the endpoint. -
toString
-
getBrokerId
Returns the broker ID for this endpoint, if the endpoint is a broker or null- Specified by:
getBrokerId
in interfaceEndpoint
-
getBrokerInfo
Returns the broker information for this endpoint, if the endpoint is a broker or null- Specified by:
getBrokerInfo
in interfaceEndpoint
-
setBrokerInfo
- Specified by:
setBrokerInfo
in interfaceEndpoint
-