| Package | system.remoting |
| Class | public class RemotingServiceListener |
| Inheritance | RemotingServiceListener Object |
| Implements | IRemotingServiceListener |
IRemotingServiceListener interface.
| Property | Defined By | ||
|---|---|---|---|
| verbose : Boolean
Switch the verbose mode of this listener. | RemotingServiceListener | ||
| Method | Defined By | ||
|---|---|---|---|
RemotingServiceListener(service:* = null, verbose:Boolean = true)
Creates a new RemotingServiceListener instance. | RemotingServiceListener | ||
error(error:*, service:RemotingService):void
Invoked when the service notify an error. | RemotingServiceListener | ||
fault(fault:*, service:RemotingService):void
Invoked when the service notify a fault. | RemotingServiceListener | ||
finish(service:RemotingService):void
Invoked when the service process is finished. | RemotingServiceListener | ||
registerService(service:RemotingService):Boolean
Registers the specific remoting service. | RemotingServiceListener | ||
result(result:*, service:RemotingService):void
Invoked when the service notify a success. | RemotingServiceListener | ||
start(service:RemotingService):void
Invoked when the service process is started. | RemotingServiceListener | ||
timeout(service:RemotingService):void
Invoked when the service notify a timeout. | RemotingServiceListener | ||
unregisterService(service:RemotingService):Boolean
Unregister the service register in this listener. | RemotingServiceListener | ||
| verbose | property |
public var verbose:BooleanSwitch the verbose mode of this listener.
| RemotingServiceListener | () | Constructor |
public function RemotingServiceListener(service:* = null, verbose:Boolean = true)Creates a new RemotingServiceListener instance.
Parametersservice:* (default = null) — An optional RemotingService reference or an Array of RemotingService objects to be registered.
| |
verbose:Boolean (default = true) — The optional verbose flag to change the mode of this listener.
|
| error | () | method |
public function error(error:*, service:RemotingService):voidInvoked when the service notify an error.
Parameters
error:* | |
service:RemotingService |
| fault | () | method |
public function fault(fault:*, service:RemotingService):voidInvoked when the service notify a fault.
Parameters
fault:* | |
service:RemotingService |
| finish | () | method |
public function finish(service:RemotingService):voidInvoked when the service process is finished.
Parameters
service:RemotingService |
| registerService | () | method |
public function registerService(service:RemotingService):BooleanRegisters the specific remoting service.
Parameters
service:RemotingService |
Boolean — True if the service is registered.
|
| result | () | method |
public function result(result:*, service:RemotingService):voidInvoked when the service notify a success.
Parameters
result:* | |
service:RemotingService |
| start | () | method |
public function start(service:RemotingService):voidInvoked when the service process is started.
Parameters
service:RemotingService |
| timeout | () | method |
public function timeout(service:RemotingService):voidInvoked when the service notify a timeout.
Parameters
service:RemotingService |
| unregisterService | () | method |
public function unregisterService(service:RemotingService):BooleanUnregister the service register in this listener.
Parameters
service:RemotingService |
Boolean — True if the unregister is success.
|