unsw.cse.framescript
Interface Conversation

All Known Implementing Classes:
GUIBot, MicaBot

public interface Conversation


Field Summary
static java.lang.String AlternateRequest
           
static java.lang.String NoMoreAlternatesResponse
           
 
Method Summary
 void processInput(Pattern input)
          Tells the conversation to treat a pattern as user input.
 void processInput(java.lang.String input)
          Tells the conversation to treat a string as user input.
 void processInput(java.lang.String input, java.lang.String[] alternatives)
          Tells the conversation to treat a string as user input.
 void setNoMoreAltsSuffix(Term suffix)
          Sets a string that will be returned with the NOMORESALTS response.
 

Field Detail

AlternateRequest

static final java.lang.String AlternateRequest
See Also:
Constant Field Values

NoMoreAlternatesResponse

static final java.lang.String NoMoreAlternatesResponse
See Also:
Constant Field Values
Method Detail

processInput

void processInput(java.lang.String input)
                  throws FSException
Tells the conversation to treat a string as user input.

Parameters:
input -
Throws:
FSException

processInput

void processInput(java.lang.String input,
                  java.lang.String[] alternatives)
                  throws FSException
Tells the conversation to treat a string as user input. Alternative inputs can provided for scripts that are designed to used them.

Parameters:
input -
alternatives -
Throws:
FSException

processInput

void processInput(Pattern input)
                  throws FSException
Tells the conversation to treat a pattern as user input.

Parameters:
input -
Throws:
FSException

setNoMoreAltsSuffix

void setNoMoreAltsSuffix(Term suffix)
Sets a string that will be returned with the NOMORESALTS response.

Parameters:
suffix -