Package org.apache.activemq.command
Interface Endpoint
-
- All Known Implementing Classes:
BaseEndpoint
,DatagramEndpoint
public interface Endpoint
Represents the logical endpoint where commands come from or are sent to. For connection based transports like TCP / VM then there is a single endpoint for all commands. For transports like multicast there could be different endpoints being used on the same transport.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BrokerId
getBrokerId()
Returns the broker ID for this endpoint, if the endpoint is a broker or nullBrokerInfo
getBrokerInfo()
Returns the broker information for this endpoint, if the endpoint is a broker or nullString
getName()
Returns the name of the endpoint.void
setBrokerInfo(BrokerInfo brokerInfo)
-
-
-
Method Detail
-
getName
String getName()
Returns the name of the endpoint.
-
getBrokerId
BrokerId getBrokerId()
Returns the broker ID for this endpoint, if the endpoint is a broker or null
-
getBrokerInfo
BrokerInfo getBrokerInfo()
Returns the broker information for this endpoint, if the endpoint is a broker or null
-
setBrokerInfo
void setBrokerInfo(BrokerInfo brokerInfo)
-
-