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