Packagecom.ak33m.rpc.core
Classpublic dynamic class AbstractRPCObject
InheritanceAbstractRPCObject Inheritance mx.rpc.AbstractService
Implementsmx.rpc.mxml.IMXMLSupport
SubclassesXMLRPCObject



Public Properties
 PropertyDefined by
  call : Function
AbstractRPCObject
  concurrency : String
Value that indicates how to handle multiple calls to the same service.
AbstractRPCObject
  destination : String
AbstractRPCObject
  endpoint : String
AbstractRPCObject
  method : *
AbstractRPCObject
  requestTimeout : int
AbstractRPCObject
  showBusyCursor : Boolean
inheritDoc
AbstractRPCObject
Protected Properties
 PropertyDefined by
  _appservername : String
AbstractRPCObject
  _concurrency : String = "multiple"
AbstractRPCObject
  _destination : String
AbstractRPCObject
  _endpoint : String
AbstractRPCObject
  _id : String
AbstractRPCObject
  _isbusy : Boolean = false
AbstractRPCObject
  _requestTimeout : Number = 0
AbstractRPCObject
  respondercounter : int
AbstractRPCObject
  _responders : ArrayCollection
AbstractRPCObject
  _showBusyCursor : Boolean = false
AbstractRPCObject
  _view : Object
AbstractRPCObject
Public Methods
 MethodDefined by
  
AbstractRPCObject
  
initialized(view:Object, id:String):void
AbstractRPCObject
Protected Methods
 MethodDefined by
  
callProperty(method:*, ... args):*
Overrides the behavior of an object property that can be called as a function.
AbstractRPCObject
  
getAccess():AbstractRestriction
AbstractRPCObject
  
makeCall(method:String, args:Array):AsyncToken
This is where the RPC function call implemntation should be placed.
AbstractRPCObject
  
onFault(evt:RPCEvent):void
RPCEvent fault handler.
AbstractRPCObject
  
onRemoveResponder(event:Event):void
AbstractRPCObject
  
onResult(evt:RPCEvent):void
RPCEvent result handler.
AbstractRPCObject
  
send():void
AbstractRPCObject
Events
 EventSummaryDefined by
    AbstractRPCObject
    AbstractRPCObject
    AbstractRPCObject
Public Constants
 ConstantDefined by
  LAST : String = "last"
[static]
AbstractRPCObject
  MULTIPLE : String = "multiple"
[static]
AbstractRPCObject
  SINGLE : String = "single"
[static]
AbstractRPCObject
Property detail
_appservernameproperty
protected var _appservername:String
callproperty 
public var call:Function
_concurrencyproperty 
protected var _concurrency:String = "multiple"
concurrencyproperty 
concurrency:String  [read-write]

Value that indicates how to handle multiple calls to the same service.

The following values are permitted:

This property can be used as the source for data binding.

Implementation
    public function get concurrency():String
    public function set concurrency(value:String):void
_destinationproperty 
protected var _destination:String
destinationproperty 
destination:String  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get destination():String
    public function set destination(value:String):void
_endpointproperty 
protected var _endpoint:String
endpointproperty 
endpoint:String  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get endpoint():String
    public function set endpoint(value:String):void
_idproperty 
protected var _id:String
_isbusyproperty 
protected var _isbusy:Boolean = false
methodproperty 
public var method:*
_requestTimeoutproperty 
protected var _requestTimeout:Number = 0
requestTimeoutproperty 
requestTimeout:int  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get requestTimeout():int
    public function set requestTimeout(value:int):void
respondercounterproperty 
respondercounter:int  [read-write]

This property can be used as the source for data binding.

Implementation
    protected function get respondercounter():int
    protected function set respondercounter(value:int):void
_respondersproperty 
protected var _responders:ArrayCollection
_showBusyCursorproperty 
protected var _showBusyCursor:Boolean = false
showBusyCursorproperty 
showBusyCursor:Boolean  [read-write]

inheritDoc

This property can be used as the source for data binding.

Implementation
    public function get showBusyCursor():Boolean
    public function set showBusyCursor(value:Boolean):void
_viewproperty 
protected var _view:Object
Constructor detail
AbstractRPCObject()constructor
public function AbstractRPCObject()
Method detail
callProperty()method
flash_proxy override function callProperty(method:*, ... args):*

Overrides the behavior of an object property that can be called as a function.

Parameters
method:*
 
... args

Returns
*
getAccess()method 
protected final function getAccess():AbstractRestriction

Returns
AbstractRestriction
initialized()method 
public function initialized(view:Object, id:String):voidParameters
view:Object
 
id:String
makeCall()method 
protected function makeCall(method:String, args:Array):AsyncToken

This is where the RPC function call implemntation should be placed.

Parameters
method:String
 
args:Array

Returns
AsyncToken
onFault()method 
protected function onFault(evt:RPCEvent):void

RPCEvent fault handler. This dispatchers a fault event and invokes the fault function of the responders in the RPC token

Parameters
evt:RPCEvent
onRemoveResponder()method 
protected function onRemoveResponder(event:Event):voidParameters
event:Event
onResult()method 
protected function onResult(evt:RPCEvent):void

RPCEvent result handler. This dispatches a result event and invokes the result function of the responders in the RPC token

Parameters
evt:RPCEvent
send()method 
protected function send():void
Event detail
faultevent 
Event object type: mx.rpc.events.FaultEvent

invokeevent  
Event object type: mx.rpc.events.InvokeEvent

resultevent  
Event object type: mx.rpc.events.ResultEvent

Constant detail
LASTconstant
public static const LAST:String = "last"
MULTIPLEconstant 
public static const MULTIPLE:String = "multiple"
SINGLEconstant 
public static const SINGLE:String = "single"