Package org.apache.guacamole.net
Class SimpleGuacamoleTunnel
java.lang.Object
org.apache.guacamole.net.AbstractGuacamoleTunnel
org.apache.guacamole.net.SimpleGuacamoleTunnel
- All Implemented Interfaces:
GuacamoleTunnel
GuacamoleTunnel implementation which uses a provided socket. The UUID of
the tunnel will be randomly generated.
-
Field Summary
Fields inherited from interface org.apache.guacamole.net.GuacamoleTunnel
INTERNAL_DATA_OPCODE
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleGuacamoleTunnel
(GuacamoleSocket socket) Creates a new GuacamoleTunnel which synchronizes access to the Guacamole instruction stream associated with the given GuacamoleSocket. -
Method Summary
Modifier and TypeMethodDescriptionReturns the GuacamoleSocket used by this GuacamoleTunnel for reading and writing.getUUID()
Returns the unique identifier associated with this GuacamoleTunnel.Methods inherited from class org.apache.guacamole.net.AbstractGuacamoleTunnel
acquireReader, acquireWriter, close, hasQueuedReaderThreads, hasQueuedWriterThreads, isOpen, releaseReader, releaseWriter
-
Constructor Details
-
SimpleGuacamoleTunnel
Creates a new GuacamoleTunnel which synchronizes access to the Guacamole instruction stream associated with the given GuacamoleSocket.- Parameters:
socket
- The GuacamoleSocket to provide synchronized access for.
-
-
Method Details
-
getUUID
Description copied from interface:GuacamoleTunnel
Returns the unique identifier associated with this GuacamoleTunnel.- Returns:
- The unique identifier associated with this GuacamoleTunnel.
-
getSocket
Description copied from interface:GuacamoleTunnel
Returns the GuacamoleSocket used by this GuacamoleTunnel for reading and writing.- Returns:
- The GuacamoleSocket used by this GuacamoleTunnel.
-