|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.domain.JADEAgentManagement.DebugOn
public class DebugOn
This class represents the debug-on action, requesting
a debugger to start observing a set of agents in the platform.
| Constructor Summary | |
|---|---|
DebugOn()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addDebuggedAgents(AID id)
Add an agent identifier to the debugged-agents
slot collection of this object. |
void |
clearAllDebuggedAgents()
Remove all agent identifiers from the debugged-agents slot collection of this object. |
Iterator |
getAllDebuggedAgents()
Access all agent identifiers from the debugged-agents slot collection of this object. |
ArrayList |
getCloneOfDebuggedAgents()
This method is called by the AMS in order to prepare an RMI call. |
AID |
getDebugger()
Retrieve the value of the debugger slot of this
action, containing the agent identifier of the debugger agent. |
java.lang.String |
getPassword()
Retrieve the value of the password slot of this
action, containing the password used to authenticate the
principal requesting this action. |
boolean |
removeDebuggedAgents(AID id)
Remove an agent identifier from the debugged-agents slot collection of this object. |
void |
setDebugger(AID id)
Set the debugger slot of this action. |
void |
setPassword(java.lang.String p)
Set the password slot of this action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugOn()
| Method Detail |
|---|
public void setDebugger(AID id)
debugger slot of this action.
id - The agent identifier of the debugger agent.public AID getDebugger()
debugger slot of this
action, containing the agent identifier of the debugger agent.
debugger slot, or
null if no value was set.public void clearAllDebuggedAgents()
debugged-agents slot collection of this object.
public void addDebuggedAgents(AID id)
debugged-agents
slot collection of this object.
id - The agent identifier to add to the collection.public boolean removeDebuggedAgents(AID id)
debugged-agents slot collection of this object.
id - The agent identifier to remove from the collection.
public Iterator getAllDebuggedAgents()
debugged-agents slot collection of this object.
public ArrayList getCloneOfDebuggedAgents()
getAllDebuggedAgents() cannot be used as it returns
an Iterator that is not serializable.
public void setPassword(java.lang.String p)
password slot of this action.
p - The password used to authenticate the principal
requesting this action.public java.lang.String getPassword()
password slot of this
action, containing the password used to authenticate the
principal requesting this action.
password slot, or
null if no value was set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||