org.jppf.server.node.remote
Class JPPFRemoteNode
java.lang.Object
org.jppf.utils.ThreadSynchronization
org.jppf.node.AbstractMonitoredNode
org.jppf.server.node.JPPFNode
org.jppf.server.node.remote.JPPFRemoteNode
- All Implemented Interfaces:
- Runnable, EventListener, ClientConnectionListener, MonitoredNode
public class JPPFRemoteNode
- extends JPPFNode
- implements ClientConnectionListener
Instances of this class encapsulate execution nodes.
- Author:
- Laurent Cohen
| Methods inherited from class org.jppf.server.node.JPPFNode |
getClassLoader, getContainer, getExecutionManager, getJmxServer, getLifeCycleEventHandler, getNodeAdmin, initHelper, perform, run, setClassLoader, setExitAction, setNodeAdmin, shutdown, stopNode |
| Methods inherited from class org.jppf.node.AbstractMonitoredNode |
addNodeListener, decrementExecutingCount, fireNodeEvent, fireNodeEvent, getHelper, getSocketWrapper, getTaskCount, incrementExecutingCount, isNotifying, removeNodeListener, setSocketWrapper, setTaskCount |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPPFRemoteNode
public JPPFRemoteNode()
- Default constructor.
initDataChannel
protected void initDataChannel()
throws Exception
- Initialize this node's resources.
- Specified by:
initDataChannel in class JPPFNode
- Throws:
Exception - if an error is raised during initialization.- See Also:
JPPFNode.initDataChannel()
closeDataChannel
protected void closeDataChannel()
throws Exception
- Initialize this node's data channel.
- Specified by:
closeDataChannel in class JPPFNode
- Throws:
Exception - if an error is raised during initialization.- See Also:
JPPFNode.closeDataChannel()
clientConnectionFailed
public void clientConnectionFailed(ClientConnectionEvent event)
- Called when the remote peer detects its connection with the server is broken.
- Specified by:
clientConnectionFailed in interface ClientConnectionListener
- Parameters:
event - an event wrapping the connection and its status.
Copyright © 2005-2010 JPPF Team.