org.jppf.comm.recovery
Class ClientConnection
java.lang.Object
org.jppf.utils.ThreadSynchronization
org.jppf.comm.recovery.AbstractRecoveryConnection
org.jppf.comm.recovery.ClientConnection
- All Implemented Interfaces:
- Runnable
public class ClientConnection
- extends AbstractRecoveryConnection
Client-side connection for the recovery mechanism.
- Author:
- Laurent Cohen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientConnection
public ClientConnection(String uuid)
- Initialize this cliet connection with the specified uuid.
- Parameters:
uuid - the JPPF node or client uuid.
run
public void run()
-
close
public void close()
- Close this client and release any resources it is using.
- Specified by:
close in class AbstractRecoveryConnection
addClientConnectionListener
public void addClientConnectionListener(ClientConnectionListener listener)
- Add a listener to the list of listeners.
- Parameters:
listener - the listener to add.
removeClientConnectionListener
public void removeClientConnectionListener(ClientConnectionListener listener)
- Remove a listener from the list of listeners.
- Parameters:
listener - the listener to remove.
Copyright © 2005-2010 JPPF Team.