On 05/02/2011 02:15 PM, Toni Alatalo wrote:
On May 2, 2011, at 7:32 AM, Karl Haas wrote:
I want to write an external service which manages all rooms of an organisation (just a proof of concept). It should be possible to connect also other virtual worlds or also a real world room management tool. The management service has to be able to send a room configuration to the OpenSim region module at a scheduled time (room reservation) and the region module has to send the content or position of the objects to the management service. It should be possible to save the state of the learning session for later continuation. Therefore I need a two way communication.

I'm not sure how I'd do that two way conn. HTTP of course has been fashionable for the past >10 years, and it would be possible to just make either side poll with that. But for realtime 2-way comms something over a TCP socket that stays open might be better, both faster and more reliable. That's why web browsers have now gotten websockets support too -- so that apps like gmail can better get notifications from servers, instead of doing periodic http polls.
I don't want to implement a polling mechanism - i think i will implement some kind of socket connection that stays open.

If you only need the sim -> manager comms for the saving, and you need to save the full state of an opensim scene, I'd use that builtin xml saving to files and then just store/transfer those files. Could send the file over, e.g. with HTTP post, or with the possible custom TCP protocol somehow.
I'm thinking about a solution that allows to continue the session within a different environment. Therefore i just want to store the size, the position and the content of objects. How to recreate the object should be up to the environment (e.g. the region module). I'm not sure which limitations and drawbacks this will cause, but the main goal of the work is to learn more about the available technologies.

If there's some project page / plans for your tool, and if it becomes available as open source later, I'd like to keep posted .. perhaps we could utilize it, even. The guys have now been porting some of the TOY tools for Tundra too, there is a public demo server of that up actually .. if you wanna see how the lobby scene looks like, press 'try it' in http://www.realxtend.org/ (need Tundra 1.0.6 installed, the download button there points there). The floating round platforms in that public lobby are same/similar elements which we use for room configurations in the classroom spaces .. I put a screenshot of that scene, made for school kids originally, yesterday to http://wiki.realxtend.org/index.php/Getting_Started_with_Tundra . That instance is not running on opensim, but the same scene & tools as we have for opensim too .. so as you plan to allow usage of the config tool with any server, should work for Tundra usage as well (it supports modules, similar to region/app/whatever modules in Opensim, but no .net currently .. c++, python and javascript is what works now, can do http or custom tcp or whatever).

Thanks for your input - i don't know yet how much i can implement within my master's thesis and if somebody will continue the project...


Karl

~Toni


Karl Haas

~Toni


_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[email protected] <mailto:[email protected]>
https://lists.berlios.de/mailman/listinfo/opensim-users


_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to