Class ConnectionClosing

java.lang.Object
org.drasyl.handler.connection.ConnectionClosing
All Implemented Interfaces:
ConnectionEvent

@UnstableApi public class ConnectionClosing extends Object implements ConnectionEvent
Signals that the connection is closing. The closing have been either initiated locally (by a preceding ChannelOutboundInvoker.close() call) or by the remote peer. In the latter case, the close request must be "confirmed" by calling ChannelOutboundInvoker.close().
  • Method Details

    • initatedByRemotePeer

      public boolean initatedByRemotePeer()
    • toString

      public String toString()
      Overrides:
      toString in class Object