A C G H I M N R S W

A

AgentItf - interface AgentItf.
 
AgentServer - class AgentServer.
 
AgentServer(int) - Constructor for class AgentServer
Allocates an AgentServer object at the port port number.

C

comeBackHome() - Method in class MobileAgent
The mobile agent comes back to its home agent server.
comeBackHome() - Method in interface MobileAgentItf
The mobile agent comes back to its home agent server.
currentHostName - Variable in class MobileAgent
The host name of the current agent server.
currentPortNumber - Variable in class MobileAgent
The port number of the current agent server.

G

getCurrentHostName() - Method in class MobileAgent
Returns the host name of the agent's current agent server.
getCurrentHostName() - Method in interface MobileAgentItf
Returns the host name of the agent's current agent server.
getCurrentPortNumber() - Method in class MobileAgent
Returns the port number of the agent's current agent server.
getCurrentPortNumber() - Method in interface MobileAgentItf
Returns the port number of the agent's current agent server.
getHomeHostName() - Method in interface AgentItf
Returns the host name of the agent's home agent server.
getHomeHostName() - Method in class MobileAgent
Returns the host name of the agent's home agent server.
getHomeHostName() - Method in class StationaryAgent
Returns the host name of the agent's home agent server.
getHomePortNumber() - Method in interface AgentItf
Returns the port number of the agent's home agent server.
getHomePortNumber() - Method in class MobileAgent
Returns the port number of the agent's home agent server.
getHomePortNumber() - Method in class StationaryAgent
Returns the port number of the agent's home agent server.
getName() - Method in interface AgentItf
Returns the agent's name.
getName() - Method in class MobileAgent
Returns the agent's name.
getName() - Method in class StationaryAgent
Returns the agent's name.

H

homeHostName - Variable in class MobileAgent
The host name of the home agent server.
homeHostName - Variable in class StationaryAgent
The host name of the home agent server.
homePortNumber - Variable in class MobileAgent
The port number of the home agent server.
homePortNumber - Variable in class StationaryAgent
The port number of the home agent server.

I

init(String, String, int) - Method in interface AgentItf
Initializes the agent with a name, and the host name and the port number of the agent server on which it is created.
init(String, String, int) - Method in class MobileAgent
Initializes the agent with a name, and the host name and the port number of the agent server on which it is created.
init(String, String, int) - Method in class StationaryAgent
Initializes the agent with a name, and the host name and the port number of the agent server on which it is created.
isMobile() - Method in interface AgentItf
Tests if the agent is mobile.
isMobile() - Method in class MobileAgent
Tests if the agent is mobile.
isMobile() - Method in class StationaryAgent
Tests if the agent is mobile.

M

main(String[]) - Static method in class AgentServer
Launches the Agent Server.
meet(String) - Method in class MobileAgent
The mobile agent joins another agent identified by a name.
meet(String) - Method in interface MobileAgentItf
The mobile agent joins another agent identified by a name.
MobileAgent - class MobileAgent.
 
MobileAgent() - Constructor for class MobileAgent
 
MobileAgentItf - interface MobileAgentItf.
 
moveTo(String, int) - Method in class MobileAgent
The mobile agent moves to an agent server identified by a name and a port number.
moveTo(String, int) - Method in interface MobileAgentItf
The mobile agent moves to an agent server identified by a name and a port number.

N

name - Variable in class MobileAgent
The name that identifies the agent.
name - Variable in class StationaryAgent
The name that identifies the agent.

R

receiveAgent() - Method in class AgentServer
Receives a new agent, either a newly created agent or a migrating mobile agent.
run() - Method in class MobileAgent
This is the starting point of the agent; this method does nothing and returns.
run() - Method in class StationaryAgent
This is the starting point of the agent; this method does nothing and returns.

S

setCurrentHostName(String) - Method in class MobileAgent
Sets the value of the Returns the host name of the agent's current agent server name.
setCurrentHostName(String) - Method in interface MobileAgentItf
Sets the value of the Returns the host name of the agent's current agent server name.
setCurrentPortNumber(int) - Method in class MobileAgent
Sets the value of the Returns the host name of the agent's current agent server port.
setCurrentPortNumber(int) - Method in interface MobileAgentItf
Sets the value of the Returns the host name of the agent's current agent server port.
StationaryAgent - class StationaryAgent.
 
StationaryAgent() - Constructor for class StationaryAgent
 

W

waitFor(String) - Method in class MobileAgent
The mobile agent waits for the arrival of another agent identified by a name.
waitFor(String) - Method in interface MobileAgentItf
The mobile agent waits for the arrival of another agent identified by a name.

A C G H I M N R S W