visad.cluster
Class NodeAgent
java.lang.Object
visad.cluster.NodeAgent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Runnable
- Direct Known Subclasses:
- DefaultNodeRendererAgent
public abstract class NodeAgent
- extends java.lang.Object
- implements java.io.Serializable, java.lang.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 java.lang.Object getObject()
getAgentThread
public java.lang.Thread getAgentThread()
sendToNode
public void sendToNode(java.io.Serializable me)
getMessage
public java.io.Serializable getMessage()
sendToClient
public void sendToClient(java.io.Serializable message)
getRemoteAgentContact
public RemoteAgentContactImpl getRemoteAgentContact(java.lang.Object obj)
- create and start Thread, and return contact
stop
public void stop()
run
public abstract void run()
- Specified by:
run
in interface java.lang.Runnable