Class to quietly listen for the
ClientPanel to notify that it is time to
instantiate a full
ServerModule and later shut it down on request. This allows
the server side of the probe to lie in waiting for the client to be invoked via hidden
keystrokes or whatever. It is not necessary if the containing application wants to have
an active
ServerModule at all times.
protected var _ctrl:AVRServerGameControl
protected var _module:ServerModule
public function ServerStub(ctrl:AVRServerGameControl)Parameters
| ctrl:AVRServerGameControl |
public function handleGameMessage(evt:MessageReceivedEvent):voidParameters
public static const ACKNOWLEDGED:String = "serverStub.acknowledged" Message sent to acknowledge the activation or deactivation.
public static const ACTIVATE:String = "serverStub.activate" Message sent to activate our module.
public static const DEACTIVATE:String = "serverStub.deactivate" Message sent to deacticate our module.