Class VNCService
java.lang.Object
de.bytestore.hostinger.process.service.VNCService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSession(VNCSocket socketIO) Creates a VNC session with the provided VNCSocket.getSession(String tokenIO) Retrieves a VNCSession object based on the provided tokenIO.voidremoveSession(String tokenIO) Removes a VNC session from the list of sessions based on the provided token.
-
Field Details
-
sessions
-
-
Constructor Details
-
VNCService
public VNCService()
-
-
Method Details
-
createSession
Creates a VNC session with the provided VNCSocket. This method initializes and configures a new VNCSession object with the provided VNCSocket.- Parameters:
socketIO- the VNCSocket object representing the socket for the session- Returns:
- the created VNCSession object
-
getSession
Retrieves a VNCSession object based on the provided tokenIO.- Parameters:
tokenIO- the token corresponding to the VNCSession- Returns:
- 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.- Parameters:
tokenIO- the token corresponding to the VNC session to be removed
-