Class EndpointEvent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ADDED
      An endpoint has been added.
      static int MODIFIED
      The properties of an endpoint have been modified.
      static int MODIFIED_ENDMATCH
      The properties of an endpoint have been modified and the new properties no longer match the listener's filter.
      static int REMOVED
      An endpoint has been removed.
    • Constructor Summary

      Constructors 
      Constructor Description
      EndpointEvent​(int type, EndpointDescription endpoint)
      Constructs a EndpointEvent object from the given arguments.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EndpointDescription getEndpoint()
      Return the endpoint associated with this event.
      int getType()
      Return the type of this event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EndpointEvent

        public EndpointEvent​(int type,
                             EndpointDescription endpoint)
        Constructs a EndpointEvent object from the given arguments.
        Parameters:
        type - The event type. See getType().
        endpoint - The endpoint associated with the event.
    • Method Detail

      • getEndpoint

        public EndpointDescription getEndpoint()
        Return the endpoint associated with this event.
        Returns:
        The endpoint associated with the event.