Fido Alpha 3.2

fido.frontend
Class FidoSession

java.lang.Object
  |
  +--fido.frontend.FidoSession

public class FidoSession
extends java.lang.Object

This class represents one user connection. It maintains context information and previous discourse for the user. The Application Server (JBoss) passes a reference to this class back to a web user, if one does not exist in the request already. The client then passes the reference back to the server for each request.


Constructor Summary
FidoSession()
          Creates a new FidoSession object.
 
Method Summary
 java.lang.String fidoString(java.lang.String userString)
          Called by the client to have the server process a natural language request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FidoSession

public FidoSession()
Creates a new FidoSession object. This object will be passed back and forth between the web browser and server to maintain context.

Method Detail

fidoString

public java.lang.String fidoString(java.lang.String userString)
                            throws FidoException
Called by the client to have the server process a natural language request.

Parameters:
userString - Contains a natural language statement.
Returns:
A natural language response to the input.
Throws:
FidoException - A FidoException is the root of all exceptions that the server may generate. Since the client will not take different actions for each exception, all exceptions are rolled up into one catch all. The message should be descriptive enough to display to the user.

Fido Alpha 3.2