Package eu.webtoolkit.jwt
Class AbstractSignal.Connection
java.lang.Object
eu.webtoolkit.jwt.AbstractSignal.Connection
- Enclosing class:
- AbstractSignal
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Disconnect.boolean
Returns whether the connection is connected.
-
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.
-