com.nukernel.jdcf
Class AbstractRemoteThread

java.lang.Object
  |
  +--com.nukernel.jdcf.AbstractRemoteThread

public abstract class AbstractRemoteThread
extends java.lang.Object
implements RemoteRunnable

Extending this class is the recommended way of writing a remote thread. Code which does not extend this class is not guaranteed to work across releases. If you do otherwise, you have to manage the Cluster eference, and possibly other things in the future.

See Also:
Serialized Form

Field Summary
protected  Cluster cluster
           
 
Constructor Summary
AbstractRemoteThread()
           
 
Method Summary
 void initOnNode()
          Perform application-specific initialisation before starting the thread.
 void initSys(Cluster cluster)
          Perform system-specific initialisation prior to starting the thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cluster

protected Cluster cluster
Constructor Detail

AbstractRemoteThread

public AbstractRemoteThread()
Method Detail

initSys

public void initSys(Cluster cluster)
Description copied from interface: RemoteRunnable
Perform system-specific initialisation prior to starting the thread.
Specified by:
initSys in interface RemoteRunnable
Tags copied from interface: RemoteRunnable
Parameters:
cluser - a Cluster object

initOnNode

public void initOnNode()
Description copied from interface: RemoteRunnable
Perform application-specific initialisation before starting the thread.
Specified by:
initOnNode in interface RemoteRunnable

Java Distributed
Computational
Framework v0.1

Copyright © 2000 Sidney Cammeresi. All rights reserved.