Packagecom.whirled.contrib.avrg.probe
Classpublic class ServerStub

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 Properties
 PropertyDefined by
  _ctrl : AVRServerGameControl
ServerStub
  _module : ServerModule
ServerStub
Public Methods
 MethodDefined by
  
ServerStub(ctrl:AVRServerGameControl)
ServerStub
  
handleGameMessage(evt:MessageReceivedEvent):void
ServerStub
Public Constants
 ConstantDefined by
  ACKNOWLEDGED : String = "serverStub.acknowledged"
[static] Message sent to acknowledge the activation or deactivation.
ServerStub
  ACTIVATE : String = "serverStub.activate"
[static] Message sent to activate our module.
ServerStub
  DEACTIVATE : String = "serverStub.deactivate"
[static] Message sent to deacticate our module.
ServerStub
Property detail
_ctrlproperty
protected var _ctrl:AVRServerGameControl
_moduleproperty 
protected var _module:ServerModule
Constructor detail
ServerStub()constructor
public function ServerStub(ctrl:AVRServerGameControl)Parameters
ctrl:AVRServerGameControl
Method detail
handleGameMessage()method
public function handleGameMessage(evt:MessageReceivedEvent):voidParameters
evt:MessageReceivedEvent
Constant detail
ACKNOWLEDGEDconstant
public static const ACKNOWLEDGED:String = "serverStub.acknowledged"

Message sent to acknowledge the activation or deactivation.

ACTIVATEconstant 
public static const ACTIVATE:String = "serverStub.activate"

Message sent to activate our module.

DEACTIVATEconstant 
public static const DEACTIVATE:String = "serverStub.deactivate"

Message sent to deacticate our module.