[haXe] remoting question
Nicolas Cannasse
ncannasse at motion-twin.com
Tue Apr 10 17:05:59 CEST 2007
> and igw.chat.CClient.inst, is where the CClient class lives in the
> package structure, however, where I actually use the CClient (chat
> client) is igw.bingo.Client.chatClient.inst - should I use the
> chatClient inst or the package structure inst? I know theoretically
> these are the same, but maybe there's a serialization issue here ...
> read on ...
You need to specify a path to the instance of your client Api. If both
statics are actually the same instance, you can either the one you prefer.
Looks like your client get disconnected, maybe check if some onError
calls are performed either on client or server, for example by binding
sncx.onError = function(e) { trace(e); }
Nicolas
More information about the Haxe
mailing list