Package de.bytestore.hostinger.handler
Klasse VNCHandler
java.lang.Object
de.bytestore.hostinger.handler.VNCHandler
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected static final org.slf4j.Loggerstatic final ArrayList<VNCSession> -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic VNCSessioncreateSession(VNCSocket socketIO) Creates a VNC session with the provided VNCSocket.static VNCSessiongetSession(String tokenIO) Retrieves a VNCSession object based on the provided tokenIO.static voidremoveSession(String tokenIO) Removes a VNC session from the list of sessions based on the provided token.
-
Felddetails
-
sessions
-
log
protected static final org.slf4j.Logger log
-
-
Konstruktordetails
-
VNCHandler
public VNCHandler()
-
-
Methodendetails
-
createSession
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
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
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
-