Interface Client2Notification.ConnectionStatus

Enclosing class:
Client2Notification
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Client2Notification.ConnectionStatus
Notification of connection status change.

This is used for connect failure, connection up, and connection down events.

The affected server is identified by host (name or IP address) and TCP port number.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(String host, int port)
     
  • Method Details

    • accept

      void accept(String host, int port)