Class AbstractSignal.Connection

java.lang.Object
eu.webtoolkit.jwt.AbstractSignal.Connection
Enclosing class:
AbstractSignal

public static class AbstractSignal.Connection extends Object
A signal connection.

A connection is returned when an event listener is connected to a signal. It may be used to disconnect the listener at a later point from the signal.

  • Constructor Details

    • Connection

      public Connection()
  • Method Details

    • disconnect

      public void disconnect()
      Disconnect.

      If the connection was not connected, this method does nothing.

    • isConnected

      public boolean isConnected()
      Returns whether the connection is connected.

      Returns:
      whether the connection is connected.