My modifications are basically the following:
1) I have created a thread that periodically calls an URL to advertise
that the Java client is still connected (a keep alive / timeout
mechanism). I use this for logging sessions accesses, so that if the
client is closed abruptly, the server can notice this. I also use this
because I only allow users to have full control of the VNC session if
the owner (user who created the session) is online, also connected to
the session. If the owner goes offline, i.e., disconnects from the
session, the server receives a notification (or notice this after a
timeout) and sends a message for every other user accessing the
session to alter their accessing mode from full access to view only.
It's been working like this for a few years. Since it's a new thread,
the code is very independent from your implementation (only a few
hooks to call it), it's pretty easy to patch new TurboVNC releases.
2) A little modification changes the Java Viewer window title to show
the name of the session (users provide a name when creating a new
session) and a list of users who are currently accessing the session.
One may quickly know if other users are connected to the session and
who are these users.
As you may see, I don't think that these modifications could be widely
applied. They are very tied to my web portal implementation...
Best regards,
Rafael Guimarães
> --
> You received this message because you are subscribed to the Google Groups "TurboVNC Developer Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
turbovnc-deve...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/turbovnc-devel/ef2d9aef-fec5-e234-e5d1-b89414cf7a9d%40virtualgl.org.