| Package | asgard.net.remoting |
| Class | public class RemotingServiceListener |
| Inheritance | RemotingServiceListener CoreEventDispatcher CoreObject |
| Implements | IRemotingServiceListener |
IRemotingEventListener interface.
| Property | Defined by | ||
|---|---|---|---|
![]() | channel : String
Indicates the channel of this dispatcher if this instance is global.
| CoreEventDispatcher | |
![]() | isGlobal : Boolean
(read-only) Returns the value of the isGlobal flag of this model.
| CoreEventDispatcher | |
| service : RemotingService
The RemotingService reference of this listener.
| RemotingServiceListener | ||
| verbose : Boolean = true
Indicates the verbose mode of this listener.
| RemotingServiceListener | ||
| Method | Defined by | ||
|---|---|---|---|
|
RemotingServiceListener(service:RemotingService = null, bGlobal:Boolean = false, sChannel:String = null)
Creates a new RemotingServiceListener instance.
| RemotingServiceListener | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target.
| CoreEventDispatcher | |
![]() |
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
| CoreEventDispatcher | |
|
error(e:RemotingEvent):void
Invoked when the service notify an error.
| RemotingServiceListener | ||
|
fault(e:RemotingEvent):void
Invoked when the service notify a fault.
| RemotingServiceListener | ||
|
finish(e:ActionEvent):void
Invoked when the service process is finished.
| RemotingServiceListener | ||
![]() |
Returns the internal
EventDispatcher reference. | CoreEventDispatcher | |
![]() |
getIsGlobal():Boolean
Returns the value of the isGlobal flag of this model.
| CoreEventDispatcher | |
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| CoreEventDispatcher | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreObject | |
![]() |
Creates and returns the internal
EventDispatcher reference (this method is invoked in the constructor). | CoreEventDispatcher | |
![]() |
isLocked():Boolean
Returns
true if the object is locked. | CoreEventDispatcher | |
![]() |
lock():void
Locks the object.
| CoreEventDispatcher | |
![]() |
registerEventListener(type:String, listener:Boolean, useCapture:int = false, priority:Boolean = 0, useWeakReference:* = false):void
Allows the registration of event listeners on the event target (Function or EventListener).
| CoreEventDispatcher | |
|
registerService(service:RemotingService):void
Registers the specified service.
| RemotingServiceListener | ||
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| CoreEventDispatcher | |
|
result(e:RemotingEvent):void
Invoked when the service notify a success.
| RemotingServiceListener | ||
![]() |
setEventDispatcher(e:EventDispatcher):void
Sets the internal
EventDispatcher reference. | CoreEventDispatcher | |
![]() |
setGlobal(flag:Boolean = false, channel:String = null):void
Sets if the instance use a global
EventDispatcher to dispatch this events, if the flag value is false the instance use a local EventDispatcher. | CoreEventDispatcher | |
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreObject | |
|
start(e:ActionEvent):void
Invoked when the service process is started.
| RemotingServiceListener | ||
|
timeout(e:ActionEvent):void
Invoked when the service notify a timeout.
| RemotingServiceListener | ||
![]() |
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
| CoreEventDispatcher | |
![]() |
toString():String
Returns the string representation of this instance.
| CoreObject | |
![]() |
unlock():void
Unlocks the display.
| CoreEventDispatcher | |
![]() |
unregisterEventListener(type:String, listener:Boolean, useCapture:* = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object.
| CoreEventDispatcher | |
|
unregisterService():Boolean
Unregister the service register in this listener.
| RemotingServiceListener | ||
![]() |
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| CoreEventDispatcher | |
| service | property |
service:RemotingService [read-write]The RemotingService reference of this listener.
Implementation public function get service():RemotingService
public function set service(value:RemotingService):void
| verbose | property |
public var verbose:Boolean = trueIndicates the verbose mode of this listener.
| RemotingServiceListener | () | constructor |
public function RemotingServiceListener(service:RemotingService = null, bGlobal:Boolean = false, sChannel:String = null)Creates a new RemotingServiceListener instance.
Parametersservice:RemotingService (default = null) — The RemotingService reference of this listener.
|
|
bGlobal:Boolean (default = false) — the flag to use a global event flow or a local event flow.
|
|
sChannel:String (default = null) — the name of the global event flow if the bGlobal argument is true.
|
| error | () | method |
public function error(e:RemotingEvent):voidInvoked when the service notify an error.
Parameterse:RemotingEvent |
| fault | () | method |
public function fault(e:RemotingEvent):voidInvoked when the service notify a fault.
Parameterse:RemotingEvent |
| finish | () | method |
public function finish(e:ActionEvent):voidInvoked when the service process is finished.
Parameterse:ActionEvent |
| registerService | () | method |
public function registerService(service:RemotingService):voidRegisters the specified service.
Parametersservice:RemotingService |
| result | () | method |
public function result(e:RemotingEvent):voidInvoked when the service notify a success.
Parameterse:RemotingEvent |
| start | () | method |
public function start(e:ActionEvent):voidInvoked when the service process is started.
Parameterse:ActionEvent |
| timeout | () | method |
public function timeout(e:ActionEvent):voidInvoked when the service notify a timeout.
Parameterse:ActionEvent |
| unregisterService | () | method |
public function unregisterService():BooleanUnregister the service register in this listener.
ReturnsBoolean — True if the unregister is success.
|