Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
D
E
G
H
M
N
O
S
T
A
Agent
- class net.openai.ai.agent.
Agent
.
This class is the base class for all Agents.
Agent()
- Constructor for class net.openai.ai.agent.
Agent
Constructs a new Agent.
D
Daemon
- class net.openai.ai.agent.
Daemon
.
This is the "portal" that allows the transmission of Agents between hosts.
DaemonDescription
- class net.openai.ai.agent.
DaemonDescription
.
This class encapsulates description data about a Daemon.
DaemonService
- class net.openai.ai.agent.
DaemonService
.
This is the base class for all Services used by the Daemon.
DaemonService()
- Constructor for class net.openai.ai.agent.
DaemonService
Constructs a new DaemonService that will be "public".
DaemonService(boolean)
- Constructor for class net.openai.ai.agent.
DaemonService
Constructs a new DaemonService with the given "public" flag.
displayMessage(String)
- Method in class net.openai.ai.agent.
Agent
Displays a message.
E
executeAgent()
- Method in class net.openai.ai.agent.
Agent
Implement this method to provide functionality for the Agent.
G
getAgentCount()
- Method in class net.openai.ai.agent.
Daemon
Returns the number of active agents for this Daemon.
getAgentDescription()
- Method in class net.openai.ai.agent.
Agent
Returns a description of the Agent.
getAgentID()
- Method in class net.openai.ai.agent.
Agent
Returns the unique ID of that the Agent was assigned at its spawn time.
getAgentNumber()
- Method in class net.openai.ai.agent.
Agent
Returns the number of the agent as it was created on its source host.
getDaemon()
- Method in class net.openai.ai.agent.
Agent
Returns the Daemon that started the Agent or received the agent from another host.
getDaemonPorts()
- Static method in class net.openai.ai.agent.
Daemon
Returns a list of ports that Daemons are running on.
getDescription()
- Method in class net.openai.ai.agent.
Daemon
Returns a description of the Daemon as a DaemonDescription.
getHostIP()
- Method in class net.openai.ai.agent.
DaemonDescription
Returns the IP address for the DaemonDescription.
getHostIP()
- Static method in class net.openai.ai.agent.
Daemon
Returns the host IP for the local host that the Daemon is running on.
getHostName()
- Method in class net.openai.ai.agent.
DaemonDescription
Returns the hostname for the DaemonDescription.
getHostName()
- Static method in class net.openai.ai.agent.
Daemon
Returns the hostname for the local host that the Daemon is running on.
getInstance(int)
- Static method in class net.openai.ai.agent.
Daemon
Returns an instance of a Daemon running on a particular port.
getLogStream()
- Method in class net.openai.ai.agent.
Agent
Returns the log stream for the local Daemon.
getLogStream()
- Method in class net.openai.ai.agent.
Daemon
Returns a handle to the PrintStream that the Daemon will be printing to.
getPort()
- Method in class net.openai.ai.agent.
DaemonDescription
Returns the port for the DaemonDescription.
getPort()
- Method in class net.openai.ai.agent.
Daemon
Returns the port that the Daemon is running on.
getServices()
- Method in class net.openai.ai.agent.
DaemonDescription
Returns the list of services for the DaemonDescription as an array of Strings.
getServices()
- Method in class net.openai.ai.agent.
Daemon
Returns a list of active services associated with this Daemon.
getShortDescription()
- Method in class net.openai.ai.agent.
Agent
Returns a short description of the Agent.
getSpawnHostIP()
- Method in class net.openai.ai.agent.
Agent
Returns the IP of the host that the agent was spawned on.
getSpawnHostName()
- Method in class net.openai.ai.agent.
Agent
Returns the name of the host that the agent was spawned on.
getSpawnTime()
- Method in class net.openai.ai.agent.
Agent
Returns the time the agent was spawned on the spawning host.
H
halt()
- Method in class net.openai.ai.agent.
Agent
Causes the Agent to halt execution.
M
main(String[])
- Static method in class net.openai.ai.agent.
Daemon
The main entry point for the OsMoSys application.
migrateTo(InetAddress, int)
- Method in class net.openai.ai.agent.
MobileAgent
Causes the Agent to migrate from one machine to another.
migrateTo(String, int)
- Method in class net.openai.ai.agent.
MobileAgent
Causes the Agent to migrate from one machine to another.
MobileAgent
- class net.openai.ai.agent.
MobileAgent
.
This is the base class for all Mobile Agents.
MobileAgent()
- Constructor for class net.openai.ai.agent.
MobileAgent
Constructs a new MobileAgent.
N
net.openai.ai.agent
- package net.openai.ai.agent
O
OPTION_AGENTS
- Static variable in class net.openai.ai.agent.
Daemon
The command-line option to specify the list of agents to start.
OPTION_CONFIG
- Static variable in class net.openai.ai.agent.
Daemon
The command-line option to specify the XML configuration file.
OPTION_LOG
- Static variable in class net.openai.ai.agent.
Daemon
The command-line option to specify the output log file.
OPTION_PORT
- Static variable in class net.openai.ai.agent.
Daemon
The command-line option to specify the port.
OPTION_SERVICES
- Static variable in class net.openai.ai.agent.
Daemon
The command-line option to specify the list of services to start.
OPTION_VERBOSE
- Static variable in class net.openai.ai.agent.
Daemon
The command-line option to specify that the output should be echoed to stdout as well.
S
shutdown()
- Method in class net.openai.ai.agent.
Daemon
Shuts down the Daemon.
startAgent(Agent)
- Method in class net.openai.ai.agent.
Daemon
Starts an agent in its own Thread.
startDaemon(Hashtable)
- Static method in class net.openai.ai.agent.
Daemon
Starts up a Daemon with the given options contained in the Hashtable.
startService(DaemonService)
- Method in class net.openai.ai.agent.
Daemon
Starts a service in its own Thread.
T
toString()
- Method in class net.openai.ai.agent.
DaemonDescription
Returns a String representation of this Object.
toString()
- Method in class net.openai.ai.agent.
Agent
Returns the Agent as a String.
A
D
E
G
H
M
N
O
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES