|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--lime.StationaryAgent
In Lime, a Lime tuple space is always permanently associated with an
ILimeAgent
object. An agent has a globally unique identifier,
automatically generated by the system. The association between an agent
and a Lime tuple space is established when the latter is created, by
passing the identifier of a given agent to the tuple space constructor. An
agent A
can pass the handle to one of its Lime tuple spaces to
other agents, but only A
will be able to perform operations on
it.
StationaryAgent
objects are stationary, i.e., they are
permanently bound to the host where they have been created.
LimeTupleSpace
, Serialized FormFields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
StationaryAgent()
Create a new stationary agent. |
|
StationaryAgent(java.lang.Runnable target)
Create a new agent that can access the Lime tuple space of the parent agent. |
|
StationaryAgent(java.lang.Runnable target,
java.lang.String name)
Create a new thread that can access the Lime tuple space of the parent agent. |
|
StationaryAgent(java.lang.String name)
Create a new thread that can access the Lime tuple space of the parent agent. |
|
StationaryAgent(java.lang.ThreadGroup group,
java.lang.Runnable target)
Create a new thread that can access the Lime tuple space of the parent agent. |
|
StationaryAgent(java.lang.ThreadGroup group,
java.lang.Runnable target,
java.lang.String name)
Create a new thread that can access the Lime tuple space of the parent agent. |
|
StationaryAgent(java.lang.ThreadGroup group,
java.lang.String name)
Create a new thread that can access the Lime tuple space of the parent agent. |
Method Summary | |
LimeAgentMgr |
getMgr()
Returns the manager of this agent. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StationaryAgent()
public StationaryAgent(java.lang.Runnable target)
Thread.Thread(Runnable)
public StationaryAgent(java.lang.Runnable target, java.lang.String name)
Thread.Thread(Runnable, String)
public StationaryAgent(java.lang.String name)
Thread.Thread(String)
public StationaryAgent(java.lang.ThreadGroup group, java.lang.Runnable target)
Thread.Thread(ThreadGroup, Runnable)
public StationaryAgent(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name)
Thread.Thread(ThreadGroup, Runnable, String)
public StationaryAgent(java.lang.ThreadGroup group, java.lang.String name)
Thread.Thread(ThreadGroup, String)
Method Detail |
public LimeAgentMgr getMgr()
getMgr
in interface ILimeAgent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |