Class 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.
    • Constructor Detail

      • SimpleGuacamoleTunnel

        public 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

      • getUUID

        public UUID getUUID()
        Description copied from interface: GuacamoleTunnel
        Returns the unique identifier associated with this GuacamoleTunnel.
        Returns:
        The unique identifier associated with this GuacamoleTunnel.
      • getSocket

        public GuacamoleSocket getSocket()
        Description copied from interface: GuacamoleTunnel
        Returns the GuacamoleSocket used by this GuacamoleTunnel for reading and writing.
        Returns:
        The GuacamoleSocket used by this GuacamoleTunnel.