Package org.apache.guacamole.net
Class SimpleGuacamoleTunnel
- java.lang.Object
- 
- org.apache.guacamole.net.AbstractGuacamoleTunnel
- 
- org.apache.guacamole.net.SimpleGuacamoleTunnel
 
 
- 
- All Implemented Interfaces:
- GuacamoleTunnel
 
 public class SimpleGuacamoleTunnel extends AbstractGuacamoleTunnel 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.GuacamoleTunnelINTERNAL_DATA_OPCODE
 
- 
 - 
Constructor SummaryConstructors Constructor Description SimpleGuacamoleTunnel(GuacamoleSocket socket)Creates a new GuacamoleTunnel which synchronizes access to the Guacamole instruction stream associated with the given GuacamoleSocket.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GuacamoleSocketgetSocket()Returns the GuacamoleSocket used by this GuacamoleTunnel for reading and writing.UUIDgetUUID()Returns the unique identifier associated with this GuacamoleTunnel.- 
Methods inherited from class org.apache.guacamole.net.AbstractGuacamoleTunnelacquireReader, acquireWriter, close, hasQueuedReaderThreads, hasQueuedWriterThreads, isOpen, releaseReader, releaseWriter
 
- 
 
- 
- 
- 
Constructor Detail- 
SimpleGuacamoleTunnelpublic SimpleGuacamoleTunnel(GuacamoleSocket socket) 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 Detail- 
getUUIDpublic UUID getUUID() Description copied from interface:GuacamoleTunnelReturns the unique identifier associated with this GuacamoleTunnel.- Returns:
- The unique identifier associated with this GuacamoleTunnel.
 
 - 
getSocketpublic GuacamoleSocket getSocket() Description copied from interface:GuacamoleTunnelReturns the GuacamoleSocket used by this GuacamoleTunnel for reading and writing.- Returns:
- The GuacamoleSocket used by this GuacamoleTunnel.
 
 
- 
 
-