Class UnexpectedEndpointDisconnectedEvent

  • All Implemented Interfaces:
    Event

    public class UnexpectedEndpointDisconnectedEvent
    extends AbstractEvent
    This event is usually raised if the server closes the socket and the client didn't expect it.
    • Constructor Detail

      • UnexpectedEndpointDisconnectedEvent

        public UnexpectedEndpointDisconnectedEvent​(EndpointContext context,
                                                   int outstandingBeforeInactive,
                                                   long connectedForNs)
    • Method Detail

      • description

        public String description()
        Description copied from interface: Event
        A textual description with more information about the event.
        Returns:
        the description, if set.
      • context

        public Context context()
        Description copied from interface: Event
        The context this event is referencing.
        Specified by:
        context in interface Event
        Overrides:
        context in class AbstractEvent
        Returns:
        the referencing context.