|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AgentID | |
lime | |
lime.motes | |
lime.motes.util.console | |
lime.util.console |
Uses of AgentID in lime |
Fields in lime declared as AgentID | |
(package private) AgentID |
UponProbeDescriptor.sourceAgent
|
(package private) AgentID |
TupleOpDescriptor.caller
|
(package private) AgentID |
TSOpDescriptor.sourceAgent
|
(package private) AgentID |
TransDescriptor.agent
The agent that initiated the transaction (AGENT_HELLO,AGENT_BYE). |
private AgentID[] |
TransDescriptor.departingAgents
An array of departing agents. |
(package private) AgentID |
TransactionOpDescriptor.agent
Null if host level transaction, else initiating agent |
(package private) AgentID |
RemoteUponListener.subscriber
|
(package private) AgentID |
RemoteOpDescriptor.opSourceAgent
The source agent (or null if host). |
(package private) AgentID |
RemoteOpDescriptor.opDestAgent
The destination agent (or null if host). |
private AgentID |
RegisteredReaction.agent
|
(package private) AgentID |
ReactionsOpDescriptor.caller
|
(package private) AgentID |
LimeTupleSpace.owner
|
(package private) AgentID |
LimeSystemTupleSpace.owner
|
private AgentID |
LimeAgentMgr.id
The AgentID for the agent this object manages. |
(package private) AgentID |
AgentLocation.agentID
|
Methods in lime that return AgentID | |
(package private) AgentID |
TSOpDescriptor.getIncomingOpSourceAgent()
|
(package private) AgentID |
TSOpDescriptor.getIncomingOpDestAgent()
|
(package private) AgentID[] |
TransDescriptor.getDepartingAgents()
Returns an array of AgentIDs that represent the agents that are departing. |
private AgentID[] |
TransactionMgr.getHostDepartingAgents()
Returns a list of AgentIDs of all of the agents on the hosts that are changing. |
AgentID |
RegisteredReaction.getSubscriber()
Return a handle to the agent that registered the reaction. |
AgentID |
ReactionEvent.getSourceAgent()
Get the identifier of the agent owning the tuple space where the event occurred. |
(package private) AgentID[] |
LimeSystemTSMgr.getAgents(LimeServerID host)
Return an array containing the AgentID of each agent present on a given host. |
AgentID |
LimeAgentMgr.getID()
Returns the AgentID of the agent that this manager manages. |
Methods in lime with parameters of type AgentID | |
(package private) RegisteredReaction[] |
UponMgr.installUpons(Reaction[] reactions,
java.lang.String name,
AgentID a)
|
(package private) RegisteredReaction[][] |
UponMgr.getUponsWithSubscriber(AgentID[] subscribers,
boolean pending)
Pick all the registered reactions that have the subscriber equal to one of those supplied. |
(package private) RegisteredReaction |
UponMgr.findRemoteRegisteredReaction(long seqNum,
AgentID subscriber)
|
(package private) RegisteredReaction[] |
UponMgr.findRemRegReactBySubscriber(AgentID[] agents)
|
(package private) static boolean |
TransactionMgr.containsAgent(AgentID[] agents,
AgentID agent)
Determine whether a given agent is in the array. |
(package private) void |
TransactionMgr.setShared(AgentID agent,
LimeTupleSpace[] lts,
boolean isShared,
Result lock)
Start the engagement or disengagement of an agent. |
private void |
TransactionMgr.makeInitiatorRequest(short transType,
AgentID agent,
LimeTupleSpace[] lts,
Result lock)
generates the request that will start the transaction, AND blocks the agent that made the request. |
(package private) RegisteredReaction[] |
Reactor.installReactions(Reaction[] r,
java.lang.String name,
AgentID a,
long seqNum)
|
(package private) RegisteredReaction[] |
Reactor.getAgentReactions(AgentID a)
Return the reactions belonging to the specified agent. |
(package private) static lights.interfaces.ITuple[] |
LimeTSMgr.takeTupleSpaceProjection(lights.interfaces.ITupleSpace ts,
AgentID[] agents,
int index)
Returns the set of tuples that represent a given projection of the tuple space. |
(package private) RegisteredReaction[] |
LimeTSMgr.getRemRegReactByAgent(AgentID subscriber)
|
(package private) LimeServerID |
LimeSystemTSMgr.getHost(AgentID agentID)
given an agentID, give the InetAddress of the host from |
(package private) java.lang.String[] |
LimeSystemTSMgr.getTupleSpaces(AgentID agent)
Return an array containing the name of the tuple spaces belonging to a given agent. |
(package private) void |
LimeSystemTSMgr.addAgent(AgentID agent,
LimeServerID host)
|
(package private) void |
LimeSystemTSMgr.addTupleSpace(java.lang.String tsname,
AgentID agent)
|
(package private) void |
LimeSystemTSMgr.removeAgent(AgentID agent)
|
(package private) void |
LimeSystemTSMgr.removeTupleSpace(java.lang.String tsname,
AgentID agent)
|
(package private) boolean |
LimeSystemTSMgr.contains(AgentID agent)
Returns whether or not the specific agent is in the current lime system. |
(package private) boolean |
LimeSystemTSMgr.hasTupleSpace(AgentID agentID,
java.lang.String tsname)
given an agent id, look into the LSTS to see if the agent has the same named tuple space as this |
(package private) boolean |
LimeSystemTSMgr.isAgentOnHost(AgentID agent,
LimeServerID host)
|
(package private) boolean |
LimeSystemTSMgr.hasAnyTupleSpaces(AgentID agent)
Returns true if the specified agent has any tuple spaces left in the shared space. |
(package private) boolean |
LimeSystemTSMgr.isLastAgent(AgentID aID,
java.lang.String tsname)
Check whether a given agent is the last one that owns a given tuple space. |
private lights.interfaces.ITuple |
LimeSystemTSMgr.makeTemplate(java.lang.String type,
LimeServerID host,
AgentID aid,
java.lang.String tsname)
Makes a template. |
Constructors in lime with parameters of type AgentID | |
UponProbeDescriptor(lights.interfaces.ITuple template,
long seqNum,
short mode,
AgentID sourceAgent)
|
|
TupleOpDescriptor(short type,
lights.interfaces.ITuple tuple,
AgentID caller,
Lock lock)
'TupleOpDescriptor' constructor for any local operation involving tuples |
|
TSOpDescriptor(short type,
java.lang.String tsName,
AgentID sourceAgent)
|
|
TransactionOpDescriptor(short type,
short transType,
TransactionID tid,
LimeServerID source,
LimeServerID sender,
AgentID agent,
EngagementMsg em)
Creates a with the specified source and sender. |
|
TransactionOpDescriptor(short type,
short transType,
TransactionID tid,
AgentID agent,
EngagementMsg em)
Creates a TransactionOpDescriptor. |
|
SystemReactionEvent(short type,
AgentID source,
lights.interfaces.ITuple eventTuple,
RegisteredReaction reaction,
UponMgr upons)
Creates a new remote reaction event. |
|
RemoteUponOpDescriptor(short type,
lights.interfaces.ITuple template,
short mode,
java.lang.String tsName,
long seqNum,
AgentID sourceAgent)
'UponOpDescriptor' Because remote operations have extra information that needs to be kept (such as the name of the tuple space the return value is destined for, and the sequence number for access into the ReplyTuples structure. |
|
RemoteUponOpDescriptor(LimeServerID dest,
short type,
lights.interfaces.ITuple template,
short mode,
java.lang.String tsName,
long seqNum,
AgentID sourceAgent)
'UponOpDescriptor' Because remote operations have extra information that needs to be kept (such as the name of the tuple space the return value is destined for, and the sequence number for access into the ReplyTuples structure. |
|
RemoteUponListener(LimeTSMgr ltsm,
long seqNum,
AgentID subscriber)
|
|
RemoteTupleOpDescriptor(LimeServerID dest,
short type,
lights.interfaces.ITuple tuple,
java.lang.String tsName,
long seqNum,
AgentID sourceAgent,
AgentID destAgent)
For simple tuple operations to be performed on remote tuple spaces, and for replies to remote operations. |
|
RegisteredReaction(Reaction reaction,
java.lang.String tsName,
AgentID agent,
long seqNum,
boolean isWeak)
|
|
ReactionsOpDescriptor(short type,
Reaction[] reactions,
AgentID caller,
Lock lock)
ReactionDescriptor constructor for any local operation involving reacitons |
|
ReactionEvent(AgentID source,
lights.interfaces.ITuple eventTuple,
RegisteredReaction reaction)
Creates a new reaction event. |
|
AgentLocation(AgentID agentID)
Create a location corresponding to the ITS of a given agent. |
Uses of AgentID in lime.motes |
Methods in lime.motes with parameters of type AgentID | |
private void |
MoteAgent.removeStuffBy(AgentID aid)
This method is used to remove all the running operations requested by an agent that is no more present. |
private void |
MoteAgent.logAgentRequest(AgentID aid,
RequestID rid)
This method is used to log the couple RequestID AgentID in order to be able to remove all the operation by a given AgentID. |
Constructors in lime.motes with parameters of type AgentID | |
MoteReactionEvent(AgentID source,
lights.interfaces.ITuple eventTuple,
RegisteredReaction reaction)
|
|
MoteReactionEvent(AgentID source,
MoteLimeTuple mlt,
RegisteredReaction reaction)
|
Uses of AgentID in lime.motes.util.console |
Methods in lime.motes.util.console that return AgentID | |
private AgentID |
MainDialog.getAgent()
|
Methods in lime.motes.util.console with parameters of type AgentID | |
private void |
LimeConsole.setupGUI(AgentID a)
|
Constructors in lime.motes.util.console with parameters of type AgentID | |
LimeConsole(AgentID a,
LimeTupleSpace lts,
IConsoleProvider p)
Create a new Lime console associated with the Lime tuple space passed as a parameter. |
Uses of AgentID in lime.util.console |
Methods in lime.util.console that return AgentID | |
private AgentID |
MainDialog.getAgent()
|
Methods in lime.util.console with parameters of type AgentID | |
private void |
LimeConsole.setupGUI(AgentID a)
|
Constructors in lime.util.console with parameters of type AgentID | |
LimeConsole(AgentID a,
LimeTupleSpace lts,
IConsoleProvider p)
Create a new Lime console associated with the Lime tuple space passed as a parameter. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |