|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--StationaryAgent
AgentItf
, Serialized FormField Summary | |
protected java.lang.String |
homeHostName
The host name of the home agent server. |
protected int |
homePortNumber
The port number of the home agent server. |
protected java.lang.String |
name
The name that identifies the agent. |
Constructor Summary | |
StationaryAgent()
|
Method Summary | |
java.lang.String |
getHomeHostName()
Returns the host name of the agent's home agent server. |
int |
getHomePortNumber()
Returns the port number of the agent's home agent server. |
java.lang.String |
getName()
Returns the agent's name. |
void |
init(java.lang.String name,
java.lang.String homeHostName,
int homePortNumber)
Initializes the agent with a name , and the
host name and the port number of the
agent server on which it is created.
|
boolean |
isMobile()
Tests if the agent is mobile. |
void |
run()
This is the starting point of the agent; this method does nothing and returns. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.String name
protected java.lang.String homeHostName
protected int homePortNumber
Constructor Detail |
public StationaryAgent()
Method Detail |
public void init(java.lang.String name, java.lang.String homeHostName, int homePortNumber)
name
, and the
host name
and the port number
of the
agent server on which it is created.
name
- the name of the agent.homeHostName
- the host name of the agent server.homePortNumber
- the port number of the agent server.public java.lang.String getName()
public java.lang.String getHomeHostName()
public int getHomePortNumber()
public boolean isMobile()
public void run()
Subclasses of StationaryAgent
should override this method.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |