Hi Joachim,
Final question is: Where are stored shared objects iniciated on client side?
Read more:
I have renewed the trunk. I got new methods addSharedObjectListener, etc.
But what I still can't catch is, why remote shared objects on Flex client
(explictly set to use AMF0) are working only together and server-side
objects are working among themselfs only.
Constructively:
I GET(create) remote shared object on client:
var so:SharedObject =
SharedObject.getRemote("myFromClientSO",connection.getConnection().uri,true)
;
I send some message using:
so.send("showMessage","message");
I connect through different clients and it works! The messages are changing
among these clients.
So we have one sharedobject.
I create the second one on server side, let's say "myServerSO"
When I call my method on server e.g. printAllSharedObjects()
Iterator<String> it = getSharedObjectNames(scope);
while(it.hasNext()){
System.out.println(it.next());
}
And it writes only: "myServerSO".
That means that for this scope is registered only "myServerSO".
But where is "myFromClientSO", which really works - because clients are
changing messages though it.
Even when I created only ONE shared object (the same one) and implemented
ISharedObjectListener .. methods were called only, while from server SO
changes, even if they have same name.
Thanks
Tom Krcha
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org