net.openai.ai.agent
Class DaemonService

java.lang.Object
  |
  +--net.openai.ai.agent.Agent
        |
        +--net.openai.ai.agent.DaemonService
All Implemented Interfaces:
AgentConstants, java.io.Serializable

public abstract class DaemonService
extends Agent

This is the base class for all Services used by the Daemon. I'm putting this class here for possible future use of "public" services for the Daemon that the SecurityManager will treat specially. Right now, the Daemon won't add DaemonServices to its list of Agents in order to hide them as agents.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface net.openai.ai.agent.AgentConstants
AGENT_CONTINUE, AGENT_RETURN_TO_SENDER, AGENT_START
 
Constructor Summary
DaemonService()
          Constructs a new DaemonService that will be "public".
DaemonService(boolean makePublic)
          Constructs a new DaemonService with the given "public" flag.
 
Methods inherited from class net.openai.ai.agent.Agent
displayMessage, executeAgent, getAgentDescription, getAgentID, getAgentNumber, getDaemon, getLogStream, getRunState, getShortDescription, getSpawnHostIP, getSpawnHostName, getSpawnTime, halt, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DaemonService

public DaemonService()
Constructs a new DaemonService that will be "public". This is equivalent to using DaemonService(true).


DaemonService

public DaemonService(boolean makePublic)
Constructs a new DaemonService with the given "public" flag.

Parameters:
makePublic - Indicates whether or not the DaemonService will be publicly accessible through the Daemon.getServices method.
See Also:
Daemon.getServices()


Copyright - 2001 OpenAI Labs. All Rights Reserved.