[SOLVED] can reactor talk to orbiter?

All Union Platform questions, comments, feature requests, and bug reports.

can reactor talk to orbiter?  

Postby koblongata » Sat 10 Nov 2012 07:11

I have some problem with reactor and orbiter communication

I created a room in reactor like this:
orbiter.getRoomManager().createRoom("lobby");

but the room could not be retrived by orbiter:
orbiter.getRoomManager().getRoom("lobby");

or if I create the room lobby again in orbiter:
orbiter.getRoomManager().createRoom("lobby");
then orbiter clients can talk to each other in room lobby that orbiter created,
and reactor clients can talk in room lobby that reactor created, it seems they are "not in the same lobby"

sorry I don't have full code to demonstrate this yet, but just a quick question, can they communicate?
koblongata
 
Posts: 22
Joined: Mon 02 Jan 2012 06:04

Re: can reactor talk to orbiter?

Postby colin » Sat 10 Nov 2012 20:51

an orbiter client and a reactor client (and any other type of client) can definitely communicate, and share knowledge of everything on the server, just as easily as two orbiter clients can.

for client A to gain knowledge of a room created by client B, client A has to join or observe that room, or watch for new rooms on the server using RoomManager's watchForRooms() method.

colin
colin
 
Posts: 232
Joined: Mon 17 Oct 2011 18:47


Return to Union Platform

Online

Users browsing this forum: No registered users and 1 guest