public abstract class NodeAgent extends Object implements Serializable, Runnable
| Constructor and Description |
|---|
NodeAgent(RemoteClientAgent s) |
| Modifier and Type | Method and Description |
|---|---|
Thread |
getAgentThread() |
Serializable |
getMessage() |
Object |
getObject() |
RemoteAgentContactImpl |
getRemoteAgentContact(Object obj)
create and start Thread, and return contact
|
boolean |
onlyOne() |
abstract void |
run() |
void |
sendToClient(Serializable message) |
void |
sendToNode(Serializable me) |
void |
stop() |
public NodeAgent(RemoteClientAgent s)
public boolean onlyOne()
public Object getObject()
public Thread getAgentThread()
public void sendToNode(Serializable me)
public Serializable getMessage()
public void sendToClient(Serializable message)
public RemoteAgentContactImpl getRemoteAgentContact(Object obj)
public void stop()