I have just used it a little bit and it seems to work great :) Cheers r. 2009/8/7 Miguel Enrique Cobá Martinez <miguel.coba@gmail.com>
I have uploaded a new version of RFB to Lukas repo:
http://source.lukas-renggli.ch/unsorted
for you to test.
This new version can be fully configured by code. In fact the RFBServer that manages the GUI menu has been moved to a new class RFBServerGUI.
Also, the log is now handled by a dedicated class RFBLog.
The implementation of the server is now using the singleton pattern because at any time just a server can be running.
Known bugs (known to me, surely it has more that I don't know and are a result of my modifications to the code):
- When you unload the class with Monticello, with the server running, the unload method of the class isn't called and the server doesn't restore the Display and Sensor clases to the original ones of the image (non RFB-enabled Display and Sensor). For the moment, if you want to unload the code, be sure to stop the server before the unload.
- It brokes the class WAVNCController. The method isServerRunning it is:
isServerRunning ^self serverInstance notNil
but with this new version of RFB should be:
isServerRunning ^self serverInstance isRunning.
I have tested it on pharo1.0beta-10401web09.07.5 and pharo core 10408 and it works ok.
Please test it and tell me if you find errors or different behavior that expected or intended.
I duplicate here part of the RFBServer class comment for the examples of use:
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project