|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GuacamoleReader
Provides abstract and raw character read access to a stream of Guacamole instructions.
| Method Summary | |
|---|---|
boolean |
available()
Returns whether instruction data is available for reading. |
char[] |
read()
Reads at least one complete Guacamole instruction, returning a buffer containing one or more complete Guacamole instructions and no incomplete Guacamole instructions. |
GuacamoleInstruction |
readInstruction()
Reads exactly one complete Guacamole instruction and returns the fully parsed instruction. |
| Method Detail |
|---|
boolean available()
throws GuacamoleException
GuacamoleException - If an error occurs while checking for
available data.
char[] read()
throws GuacamoleException
GuacamoleException - If an error occurs while reading from the
stream.
GuacamoleInstruction readInstruction()
throws GuacamoleException
GuacamoleException - If an error occurs while reading from the
stream, or if the instruction cannot be
parsed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||