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 Details

    • BaseEndpoint

      public BaseEndpoint(String name)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Endpoint
      Returns the name of the endpoint.
      Specified by:
      getName in interface Endpoint
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getBrokerId

      public BrokerId getBrokerId()
      Returns the broker ID for this endpoint, if the endpoint is a broker or null
      Specified by:
      getBrokerId in interface Endpoint
    • getBrokerInfo

      public BrokerInfo getBrokerInfo()
      Returns the broker information for this endpoint, if the endpoint is a broker or null
      Specified by:
      getBrokerInfo in interface Endpoint
    • setBrokerInfo

      public void setBrokerInfo(BrokerInfo brokerInfo)
      Specified by:
      setBrokerInfo in interface Endpoint