There was this topic from 2011 which caught my eye while I was looking for the same thing.
So, is it possible to specify a class to handle client calls, right now, like we can make this on AS3?
I prefer to able specify a handler class but if there is no such thing exists, how should I encapsulate client callback methods from others methods? Or can I simply assume that it is safe the way it is (and there is no pitfalls) while clients can only call methods with specific parameters like this one;
var callbackHandler:Object = new Object();
var nc:NetConnection = new NetConnection()
nc.client = callbackHandler;
and they can not call other methods like this one if I place both methods in the BaseModule?
public void broadcastMessage(IClient client, RequestFunction function, AMFDataList params)
public void dropAllMembers(String reason)