com.realtime.crossfire.jxclient.server.crossfire
Interface CrossfireQueryListener


public interface CrossfireQueryListener

Interface for listeners interested in query messages received from the Crossfire server.


Field Summary
static int HIDE_INPUT
          Query type: hide input being entered.
static int SINGLE_CHAR
          Query type: single character response expected.
static int YES_NO
          Query type: yes/no question.
 
Method Summary
 void commandQueryReceived(java.lang.String prompt, int queryType)
          A query message has been received.
 

Field Detail

HIDE_INPUT

static final int HIDE_INPUT
Query type: hide input being entered.

See Also:
Constant Field Values

SINGLE_CHAR

static final int SINGLE_CHAR
Query type: single character response expected.

See Also:
Constant Field Values

YES_NO

static final int YES_NO
Query type: yes/no question.

See Also:
Constant Field Values
Method Detail

commandQueryReceived

void commandQueryReceived(@NotNull
                          java.lang.String prompt,
                          int queryType)
A query message has been received.

Parameters:
prompt - the query's prompt
queryType - the query type