Packageorg.springextensions.actionscript.rpc.remoting
SVN browsingAbstractRemoteObjectOperation.as
FisheyeAbstractRemoteObjectOperation.as
Classpublic class AbstractRemoteObjectOperation
InheritanceAbstractRemoteObjectOperation Inheritance AbstractRPC Inheritance AbstractOperation Inheritance flash.events.EventDispatcher
SubclassesRemoteObjectOperation

Abstract base class for operations that invoke methods on a remote object.



Documentation reference: services


Public Properties
 PropertyDefined by
 Inheritederror : *
The error of this operation or null if no error occurred during this operation.
AbstractOperation
 InheritedmethodName : String
AbstractRPC
 Inheritedparameters : Array
AbstractRPC
 Inheritedresult : *
The result of this operation or null if the operation does not have a result.
AbstractOperation
 Inheritedtimeout : int
The timeout in milliseconds.
AbstractOperation
Protected Properties
 PropertyDefined by
  remoteObject : RemoteObject
The RemoteObject instance that is used by the current AbstractRemoteObjectOperation to perform its task.
AbstractRemoteObjectOperation
Public Methods
 MethodDefined by
  
AbstractRemoteObjectOperation(remoteObject:RemoteObject, methodName:String, parameters:Array = null)
Creates a new AbstractRemoteObjectOperation instance.
AbstractRemoteObjectOperation
 Inherited
addCompleteListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.COMPLETE event.
AbstractOperation
 Inherited
addErrorListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.ERROR event.
AbstractOperation
 Inherited
addTimeoutListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.TIMEOUT event.
AbstractOperation
 Inherited
dispatchCompleteEvent(result:* = null):Boolean
Convenience method for dispatching a OperationEvent.COMPLETE event.
AbstractOperation
 Inherited
dispatchErrorEvent(error:* = null):Boolean
Convenience method for dispatching a OperationEvent.ERROR event.
AbstractOperation
 Inherited
Convenience method for dispatching a OperationEvent.TIMEOUT event.
AbstractOperation
 Inherited
removeCompleteListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.COMPLETE event.
AbstractOperation
 Inherited
removeErrorListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.ERROR event.
AbstractOperation
 Inherited
removeTimeoutListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.TIMEOUT event.
AbstractOperation
Protected Methods
 MethodDefined by
 Inherited
faultHandler(event:FaultEvent):void
Assigns the FaultEvent value to the error property and dispatches the OperationEvent.ERROR event.
AbstractRPC
 Inherited
AbstractRPC
 Inherited
resultHandler(event:ResultEvent):void
Assigns the ResultEvent.result value to the result property and dispatches the OperationEvent.COMPLETE event.
AbstractRPC
 Inherited
startTimeout():void
AbstractOperation
Events
 EventSummaryDefined by
 Inherited Dispatched when the current AbstractOperation has completed its functionality successfully.AbstractOperation
 Inherited Dispatched when the current AbstractOperation encountered an error.AbstractOperation
 Inherited Dispatched when the current AbstractOperation timed out.AbstractOperation
Property detail
remoteObjectproperty
protected var remoteObject:RemoteObject

The RemoteObject instance that is used by the current AbstractRemoteObjectOperation to perform its task.

Constructor detail
AbstractRemoteObjectOperation()constructor
public function AbstractRemoteObjectOperation(remoteObject:RemoteObject, methodName:String, parameters:Array = null)

Creates a new AbstractRemoteObjectOperation instance.

Parameters
remoteObject:RemoteObject
 
methodName:String
 
parameters:Array (default = null)