Modifier and Type | Class and Description |
---|---|
class |
GuacamoleClientException
A generic exception thrown when part of the Guacamole API encounters
an error in the client's request.
|
class |
GuacamoleResourceNotFoundException
A generic exception thrown when part of the Guacamole API fails to find
a requested resource, such as a configuration or tunnel.
|
class |
GuacamoleSecurityException
A security-related exception thrown when parts of the Guacamole API is
denying access to a resource.
|
class |
GuacamoleServerException
A generic exception thrown when part of the Guacamole API encounters
an unexpected, internal error.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GuacamoleReader.available()
Returns whether instruction data is available for reading.
|
boolean |
ReaderGuacamoleReader.available() |
char[] |
GuacamoleReader.read()
Reads at least one complete Guacamole instruction, returning a buffer
containing one or more complete Guacamole instructions and no
incomplete Guacamole instructions.
|
char[] |
ReaderGuacamoleReader.read() |
GuacamoleInstruction |
GuacamoleReader.readInstruction()
Reads exactly one complete Guacamole instruction and returns the fully
parsed instruction.
|
GuacamoleInstruction |
ReaderGuacamoleReader.readInstruction() |
void |
WriterGuacamoleWriter.write(char[] chunk) |
void |
GuacamoleWriter.write(char[] chunk)
Writes the entire given array of characters to the Guacamole instruction
stream.
|
void |
WriterGuacamoleWriter.write(char[] chunk,
int off,
int len) |
void |
GuacamoleWriter.write(char[] chunk,
int off,
int len)
Writes a portion of the given array of characters to the Guacamole
instruction stream.
|
void |
WriterGuacamoleWriter.writeInstruction(GuacamoleInstruction instruction) |
void |
GuacamoleWriter.writeInstruction(GuacamoleInstruction instruction)
Writes the given fully parsed instruction to the Guacamole instruction
stream.
|
Modifier and Type | Method and Description |
---|---|
void |
InetGuacamoleSocket.close() |
void |
GuacamoleSocket.close()
Releases all resources in use by the connection represented by this
GuacamoleSocket.
|
void |
GuacamoleTunnel.close()
Release all resources allocated to this GuacamoleTunnel.
|
Constructor and Description |
---|
InetGuacamoleSocket(String hostname,
int port)
Creates a new InetGuacamoleSocket which reads and writes instructions
to the Guacamole instruction stream of the Guacamole proxy server
running at the given hostname and port.
|
Modifier and Type | Method and Description |
---|---|
static <Type> Type |
GuacamoleProperties.getProperty(GuacamoleProperty<Type> property)
Given a GuacamoleProperty, parses and returns the value set for that
property in guacamole.properties, if any.
|
static <Type> Type |
GuacamoleProperties.getRequiredProperty(GuacamoleProperty<Type> property)
Given a GuacamoleProperty, parses and returns the value set for that
property in guacamole.properties.
|
Integer |
IntegerGuacamoleProperty.parseValue(String value) |
String |
StringGuacamoleProperty.parseValue(String value) |
Type |
GuacamoleProperty.parseValue(String value)
Parses the given string value into the type associated with this
GuacamoleProperty.
|
File |
FileGuacamoleProperty.parseValue(String value) |
Modifier and Type | Method and Description |
---|---|
void |
ConfiguredGuacamoleSocket.close() |
Constructor and Description |
---|
ConfiguredGuacamoleSocket(GuacamoleSocket socket,
GuacamoleConfiguration config)
Creates a new ConfiguredGuacamoleSocket which uses the given
GuacamoleConfiguration to complete the initial protocol handshake over
the given GuacamoleSocket.
|
Modifier and Type | Method and Description |
---|---|
protected abstract GuacamoleTunnel |
GuacamoleHTTPTunnelServlet.doConnect(javax.servlet.http.HttpServletRequest request)
Called whenever the JavaScript Guacamole client makes a connection
request.
|
protected void |
GuacamoleHTTPTunnelServlet.doRead(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String tunnelUUID)
Called whenever the JavaScript Guacamole client makes a read request.
|
protected void |
GuacamoleHTTPTunnelServlet.doWrite(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String tunnelUUID)
Called whenever the JavaScript Guacamole client makes a write request.
|
Constructor and Description |
---|
GuacamoleSession(javax.servlet.http.HttpSession session)
Creates a new GuacamoleSession, storing and retrieving tunnels from the
given HttpSession.
|
Copyright © 2012. All Rights Reserved.