net.openai.ai.hybrid.fsmagent
Class SimpleMigrateState

java.lang.Object
  |
  +--net.openai.util.fsm.State
        |
        +--net.openai.ai.hybrid.fsmagent.AgentState
              |
              +--net.openai.ai.hybrid.fsmagent.InputForwardingState
                    |
                    +--net.openai.ai.hybrid.fsmagent.MigrateState
                          |
                          +--net.openai.ai.hybrid.fsmagent.SimpleMigrateState
All Implemented Interfaces:
java.io.Serializable

public final class SimpleMigrateState
extends MigrateState

See Also:
Serialized Form

Constructor Summary
SimpleMigrateState(java.lang.String destHost, int destPort)
          Constructs a new SimpleMigrateState with the given host and port to migrate to.
 
Method Summary
 java.lang.String getDestinationHost()
          Returns the destination host for the SimpleMigrateState.
 int getDestinationPort()
          Returns the destination port the the SimpleMigrateState.
 
Methods inherited from class net.openai.ai.hybrid.fsmagent.MigrateState
executeState
 
Methods inherited from class net.openai.ai.hybrid.fsmagent.InputForwardingState
enter, exit, getInputData
 
Methods inherited from class net.openai.ai.hybrid.fsmagent.AgentState
displayMessage, getAgent
 
Methods inherited from class net.openai.util.fsm.State
addStateListener, addTransition, addTransition, getEndStateFlag, getName, getStartStateFlag, getTransitions, removeStateListener, removeTransition, setEndStateFlag, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMigrateState

public SimpleMigrateState(java.lang.String destHost,
                          int destPort)
Constructs a new SimpleMigrateState with the given host and port to migrate to.

Parameters:
destHost - The destination host to migrate to.
destPort - The port on the destination host to enter through.
Method Detail

getDestinationHost

public final java.lang.String getDestinationHost()
Returns the destination host for the SimpleMigrateState.

Specified by:
getDestinationHost in class MigrateState
Returns:
The destination host.

getDestinationPort

public final int getDestinationPort()
Returns the destination port the the SimpleMigrateState.

Specified by:
getDestinationPort in class MigrateState
Returns:
The destination port.


Copyright - 2001 OpenAI Labs. All Rights Reserved.