eu.webtoolkit.jwt
Class AbstractSignal.Connection

java.lang.Object
  extended by 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
 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 Detail

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.