org.jppf.server.node.remote
Class JPPFRemoteNode

java.lang.Object
  extended by org.jppf.utils.ThreadSynchronization
      extended by org.jppf.node.AbstractMonitoredNode
          extended by org.jppf.server.node.JPPFNode
              extended by 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

Field Summary
 
Fields inherited from class org.jppf.server.node.JPPFNode
classLoaderManager, executionManager, nodeIO
 
Fields inherited from class org.jppf.node.AbstractMonitoredNode
executingCount, helper, listeners, notifying, serializer, socketClient, socketInitializer, uuid
 
Fields inherited from class org.jppf.utils.ThreadSynchronization
stopped
 
Constructor Summary
JPPFRemoteNode()
          Default constructor.
 
Method Summary
 void clientConnectionFailed(ClientConnectionEvent event)
          Called when the remote peer detects its connection with the server is broken.
protected  void closeDataChannel()
          Initialize this node's data channel.
protected  void initDataChannel()
          Initialize this node's resources.
 
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 org.jppf.utils.ThreadSynchronization
goToSleep, goToSleep, goToSleep, isStopped, setStopped, wakeUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPPFRemoteNode

public JPPFRemoteNode()
Default constructor.

Method Detail

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.