Package org.apache.activemq.command
Interface Endpoint
-
- All Known Implementing Classes:
BaseEndpoint,DatagramEndpoint
public interface EndpointRepresents 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 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)
-
-
-
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)
-
-