|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.colorado.cs.ns2.sim.ApplicationListItem
public class ApplicationListItem
This class provides the binding between an Application, its underlying Agent, and the Agent's underlying Node.
Field Summary | |
---|---|
private int |
agentId
The agent's identifier. |
private Application |
app
A reference to the Application. |
private int |
nodeId
The node's identifier. |
Constructor Summary | |
---|---|
ApplicationListItem(int nodeId,
int agentId,
Application app)
Three-argument constructor. |
Method Summary | |
---|---|
int |
getAgentId()
Returns the Agent's identifier. |
Application |
getApplication()
Returns the Application. |
java.lang.String |
getApplicationVariableName()
Returns the Application's TCL variable name. |
int |
getNodeId()
Returns the node's identifier. |
java.lang.String |
getNodeVariableName()
Returns the node's TCL variable name. |
void |
setAgentId(int agentId)
Sets the Agent's identifier. |
void |
setApplication(Application app)
Sets the Application reference. |
void |
setNodeId(int nodeId)
Sets the node's identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int nodeId
private int agentId
private Application app
Constructor Detail |
---|
public ApplicationListItem(int nodeId, int agentId, Application app)
nodeId
- A Node identifier.agentId
- An Agent identifier.app
- An Application reference.Method Detail |
---|
public Application getApplication()
public java.lang.String getApplicationVariableName()
public void setApplication(Application app)
app
- A Application reference.public int getNodeId()
public void setNodeId(int nodeId)
nodeId
- The node's new identifier.public java.lang.String getNodeVariableName()
public int getAgentId()
public void setAgentId(int agentId)
agentId
- The Agent's new identifier.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |