I have searched high, low, sideways, and every way I can think of,
but I have not found a complete example of a Server Module that receives messages.
I would like to use Orbiter (not Orbiter Micro) on the Client side,
and Javascript on the Server Side.
Lots of Room Module examples:
http://www.unionplatform.com/?page_id=3151 (Javascript)
http://www.unionplatform.com/?page_id=1072 (Java)
http://www.unionplatform.com/?page_id=3127 (Orbiter Micro and Javascript)
http://www.unionplatform.com/?page_id=3073 (Fragments of code for Room and Server Modules)
http://www.unionplatform.com/?page_id=2615 (Creating Room Modules with Javascript)
http://www.unionplatform.com/?page_id=1159 (Fridge magnets, Java example)
... etc.
Here's a server module example in Java
http://www.unionplatform.com/?page_id=11
Also, what is a "moduleContext" ? and what is a "wrapper" ?
Does only Javascript need the "wrapper"?
And does it apply to Server as well as Room Modules?
ADDED:
In this example: http://www.unionplatform.com/?page_id=2615
It does these two:
wrapper.addRoomEventListener(RoomEvent.REMOVE_CLIENT, "onRoomRemoveClient");
moduleContext.getRoom().sendMessage("CHAT_MESSAGE", args);
When do you use the wrapper, and when do you use the moduleContext?
And, for a Server Module, what can I call from those two?
I'm trying to do a custom "Create Account" module, and getting nowhere,
since every function I try to call (createAccount, getAccountManager)
is undefined, on both of those.
-- end ADDED --
If you could direct me to an example of the type I'm seeking that would
be most helpful, or if there isn't one, maybe one could be created.