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 |
---|
static final int HIDE_INPUT
static final int SINGLE_CHAR
static final int YES_NO
Method Detail |
---|
void commandQueryReceived(@NotNull java.lang.String prompt, int queryType)
prompt
- the query's promptqueryType
- the query type