|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.colorado.cs.ns2.agents.Agent
edu.colorado.cs.ns2.agents.TCPVegasAgent
public class TCPVegasAgent
This is the implementation of the TCPVegas Agent.
Field Summary | |
---|---|
private int |
class_
NS2's TCPVegas class_ TCL variable. |
private int |
fid_
NS2's TCPVegas fid_ (flow identifier) TCL variable. |
private static long |
serialVersionUID
Generated serial version UID. |
Fields inherited from class edu.colorado.cs.ns2.agents.Agent |
---|
acceptableConnectAgents, agentId, agentName, applications, isConnected, nodeId, variableName |
Constructor Summary | |
---|---|
TCPVegasAgent(int nextId,
int NodeId)
Constructor. |
Method Summary | |
---|---|
int |
getClass_()
Returns the value of the class_ TCL variable. |
int |
getFid_()
Returns the flow identifier. |
private void |
setAcceptableAgents()
Sets the list of acceptable agents to which a TCPVegas Agent may connect. |
void |
setAgentProperties()
Sets the TCPVegas Agent's properties. |
void |
setClass_(int class_)
Sets the value of hte class_ TCL variable. |
void |
setFid_(int fid_)
Sets the flow identifier. |
java.lang.String |
toString()
Returns a String representation of the current object. |
java.lang.String |
writeAgentProperties()
Returns a TCP representation of the Agent's properties. |
Methods inherited from class edu.colorado.cs.ns2.agents.Agent |
---|
addAgentToScript, canConnectToAgent, canHaveMultipleConnections, getAgentId, getAgentName, getApplications, getApplicationsElementAt, getNodeId, getVariableName, isConnected, removeApplicationsElement, removeApplicationsElementAt, setAgentId, setApplications, setConnected |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private int class_
private int fid_
Constructor Detail |
---|
public TCPVegasAgent(int nextId, int NodeId)
nextId
- The next available globally unique identifier.NodeId
- The identifier of the node on which this Agent resides.Method Detail |
---|
private void setAcceptableAgents()
public java.lang.String toString()
toString
in class java.lang.Object
public int getClass_()
public void setClass_(int class_)
class_
- A new class value.public int getFid_()
public void setFid_(int fid_)
fid_
- A new flow identifier.public void setAgentProperties()
setAgentProperties
in class Agent
public java.lang.String writeAgentProperties()
Agent
writeAgentProperties
in class Agent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |