Class MessageEndpoint

  • All Implemented Interfaces:
    Endpoint

    public class MessageEndpoint
    extends java.lang.Object
    implements Endpoint
    ENTERPRISE EDITION API

    Message endpoint.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MessageEndpointDelegate getDelegate()
      Gets the delegate object used for creating MessageEndpointConnection objects.
      ProtocolType getProtocolType()
      Gets the data transportation protocol of the endpoint.
      java.lang.Object getTarget()
      Gets the target object which is an arbitrary object that represents the endpoint.
      java.lang.String getUid()
      Gets the unique identifier of the endpoint.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MessageEndpoint

        public MessageEndpoint​(@NonNull
                               java.lang.String uid,
                               @Nullable
                               java.lang.Object target,
                               @NonNull
                               ProtocolType protocolType,
                               @NonNull
                               MessageEndpointDelegate delegate)
        Initializes a CBLMessageEndpoint object.
        Parameters:
        uid - the unique identifier of the endpoint
        target - an optional arbitrary object that represents the endpoint
        protocolType - the data transportation protocol
        delegate - the delegate for creating MessageEndpointConnection objects
    • Method Detail

      • getUid

        @NonNull
        public java.lang.String getUid()
        Gets the unique identifier of the endpoint.
        Returns:
        the unique identifier of the endpoint
      • getTarget

        @NonNull
        public java.lang.Object getTarget()
        Gets the target object which is an arbitrary object that represents the endpoint.
        Returns:
        the target object.
      • getProtocolType

        @NonNull
        public ProtocolType getProtocolType()
        Gets the data transportation protocol of the endpoint.
        Returns:
        the data transportation protocol
      • getDelegate

        @NonNull
        public MessageEndpointDelegate getDelegate()
        Gets the delegate object used for creating MessageEndpointConnection objects.
        Returns:
        the delegate object.
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object