net.openai.ai.agent
Class DaemonDescription

java.lang.Object
  |
  +--net.openai.ai.agent.DaemonDescription
All Implemented Interfaces:
java.io.Serializable

public final class DaemonDescription
extends java.lang.Object
implements java.io.Serializable

This class encapsulates description data about a Daemon. This will most commonly be used by an agent to find out what DaemonServices are available to an agent on both local and remote Daemons.

See Also:
Serialized Form

Method Summary
 java.lang.String getHostIP()
          Returns the IP address for the DaemonDescription.
 java.lang.String getHostName()
          Returns the hostname for the DaemonDescription.
 int getPort()
          Returns the port for the DaemonDescription.
 java.lang.String[] getServices()
          Returns the list of services for the DaemonDescription as an array of Strings.
 java.lang.String toString()
          Returns a String representation of this Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getHostIP

public final java.lang.String getHostIP()
Returns the IP address for the DaemonDescription.

Returns:
The IP address.

getHostName

public final java.lang.String getHostName()
Returns the hostname for the DaemonDescription.

Returns:
The hostname.

getPort

public final int getPort()
Returns the port for the DaemonDescription.

Returns:
The port.

getServices

public final java.lang.String[] getServices()
Returns the list of services for the DaemonDescription as an array of Strings.

Returns:
The list of services for the DaemonDescription.

toString

public final java.lang.String toString()
Returns a String representation of this Object.

Overrides:
toString in class java.lang.Object
Returns:
A String representation of this Object.


Copyright - 2001 OpenAI Labs. All Rights Reserved.