visad.cluster
Class NodeAgent
java.lang.Object
visad.cluster.NodeAgent
- All Implemented Interfaces:
- Serializable, Runnable
- Direct Known Subclasses:
- DefaultNodeRendererAgent
public abstract class NodeAgent
- extends Object
- implements Serializable, Runnable
NodeAgent is the abstract super-class for agents sent from
client to nodes.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeAgent
public NodeAgent(RemoteClientAgent s)
onlyOne
public boolean onlyOne()
getObject
public Object getObject()
getAgentThread
public Thread getAgentThread()
sendToNode
public void sendToNode(Serializable me)
getMessage
public Serializable getMessage()
sendToClient
public void sendToClient(Serializable message)
getRemoteAgentContact
public RemoteAgentContactImpl getRemoteAgentContact(Object obj)
- create and start Thread, and return contact
stop
public void stop()
run
public abstract void run()
- Specified by:
run
in interface Runnable