Package eu.webtoolkit.jwt
Class AbstractSignal.Connection
java.lang.Object
eu.webtoolkit.jwt.AbstractSignal.Connection
- Enclosing class:
- AbstractSignal
public static class AbstractSignal.Connection
extends java.lang.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.
-
Method Summary
Modifier and Type Method Description void
disconnect()
Disconnect.boolean
isConnected()
Returns whether the connection is connected.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.
-