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
 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
 String 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)


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.