Klasse VNCHandler

java.lang.Object
de.bytestore.hostinger.handler.VNCHandler

public class VNCHandler extends Object
  • Felddetails

    • sessions

      public static final ArrayList<VNCSession> sessions
    • log

      protected static final org.slf4j.Logger log
  • Konstruktordetails

    • VNCHandler

      public VNCHandler()
  • Methodendetails

    • createSession

      public static VNCSession createSession(VNCSocket socketIO)
      Creates a VNC session with the provided VNCSocket. This method initializes and configures a new VNCSession object with the provided VNCSocket.
      Parameter:
      socketIO - the VNCSocket object representing the socket for the session
      Gibt zurück:
      the created VNCSession object
    • getSession

      public static VNCSession getSession(String tokenIO)
      Retrieves a VNCSession object based on the provided tokenIO.
      Parameter:
      tokenIO - the token corresponding to the VNCSession
      Gibt zurück:
      the VNCSession object with the specified tokenIO, or null if not found
    • removeSession

      public static void removeSession(String tokenIO)
      Removes a VNC session from the list of sessions based on the provided token.
      Parameter:
      tokenIO - the token corresponding to the VNC session to be removed