Package | com.renaun.rpc |
Class | public dynamic class RemoteObjectAMF0 |
Inheritance | RemoteObjectAMF0 ![]() |
Implements | mx.core.IMXMLObject, mx.rpc.mxml.IMXMLSupport |
Property | Defined by | ||
---|---|---|---|
concurrency : String
Value that indicates how to handle multiple calls to the same service.
| RemoteObjectAMF0 | ||
endpoint : String
URL to the AMF0 server's gateway.
| RemoteObjectAMF0 | ||
gateway_conn : RemotingConnection
[read-only]
The RemotingConnection that references the current connection
to the AMF gateway.
| RemoteObjectAMF0 | ||
makeObjectsBindable : Boolean
When this value is true, anonymous objects
returned are forced to bindable objects.
| RemoteObjectAMF0 | ||
methods : Array | RemoteObjectAMF0 | ||
results : *
Carray over from Flex 1.5.
| RemoteObjectAMF0 | ||
showBusyCursor : Boolean
If true, a busy cursor is displayed while a
service is executing.
| RemoteObjectAMF0 | ||
source : String
Defines the Service classes name.
| RemoteObjectAMF0 |
Property | Defined by | ||
---|---|---|---|
_methodResponderLookup : Object | RemoteObjectAMF0 | ||
_methodResultLookup : Object | RemoteObjectAMF0 | ||
_methodsLookup : Object | RemoteObjectAMF0 |
Method | Defined by | ||
---|---|---|---|
Constructor.
| RemoteObjectAMF0 | ||
initialized(view:Object, id:String):void
Not sure
| RemoteObjectAMF0 | ||
setCredentials(username:String, password:String):void
Set the credentials for the destination accessed by the service.
| RemoteObjectAMF0 |
Method | Defined by | ||
---|---|---|---|
callProperty(methodName:*, ... args):*
| RemoteObjectAMF0 | ||
getDescendants(name:*):*
| RemoteObjectAMF0 | ||
getProperty(name:*):*
| RemoteObjectAMF0 | ||
setProperty(name:*, value:*):void
| RemoteObjectAMF0 |
Event | Summary | Defined by | ||
---|---|---|---|---|
The fault event is dispatched when a service call fails and isn't handled by the Operation itself. | RemoteObjectAMF0 | |||
The result event is dispatched when a service call successfully returns and isn't handled by the Operation itself. | RemoteObjectAMF0 |
concurrency | property |
concurrency:String
[read-write]Value that indicates how to handle multiple calls to the same service. The default value is multiple. The following values are permitted:
The default value is multiple
.
This property can be used as the source for data binding.
Implementation public function get concurrency():String
public function set concurrency(value:String):void
endpoint | property |
endpoint:String
[read-write]URL to the AMF0 server's gateway.
The default value is http://{server.name}:{server.port}/flashservices/gateway.php
.
This property can be used as the source for data binding.
Implementation public function get endpoint():String
public function set endpoint(value:String):void
gateway_conn | property |
gateway_conn:RemotingConnection
[read-only]The RemotingConnection that references the current connection to the AMF gateway.
This property can be used as the source for data binding.
Implementation public function get gateway_conn():RemotingConnection
makeObjectsBindable | property |
makeObjectsBindable:Boolean
[read-write]When this value is true, anonymous objects returned are forced to bindable objects.
The default value is false
.
This property can be used as the source for data binding.
Implementation public function get makeObjectsBindable():Boolean
public function set makeObjectsBindable(value:Boolean):void
_methodResponderLookup | property |
protected var _methodResponderLookup:Object
_methodResultLookup | property |
protected var _methodResultLookup:Object
methods | property |
methods:Array
[read-write]This property can be used as the source for data binding.
Implementation public function get methods():Array
public function set methods(value:Array):void
_methodsLookup | property |
protected var _methodsLookup:Object
results | property |
public var results:*
Carray over from Flex 1.5. It stores the last results value, beware this is the last results value regardless of what method call.
showBusyCursor | property |
showBusyCursor:Boolean
[read-write]If true, a busy cursor is displayed while a service is executing. The default value is false.
The default value is false
.
This property can be used as the source for data binding.
Implementation public function get showBusyCursor():Boolean
public function set showBusyCursor(value:Boolean):void
source | property |
source:String
[read-write]Defines the Service classes name. The service class should be defined with out a trailing file extension.
Example: source="com.renaun.samples.login.services.Login" The above source value will tell the AMFPHP gateway to look for a service classes located at /{services}/com/renaun/samples/login/services/Login.php
Each specific gateway can implement the source value differently
The default value is empty string
.
This property can be used as the source for data binding.
Implementation public function get source():String
public function set source(value:String):void
RemoteObjectAMF0 | () | constructor |
public function RemoteObjectAMF0()
Constructor.
callProperty | () | method |
flash_proxy override function callProperty(methodName:*, ... args):*
Parameters
methodName:* |
|
... args |
* |
getDescendants | () | method |
flash_proxy override function getDescendants(name:*):*
Parameters
name:* |
* |
getProperty | () | method |
flash_proxy override function getProperty(name:*):*
Parameters
name:* |
* |
initialized | () | method |
public function initialized(view:Object, id:String):void
Not sure
Parametersview:Object |
|
id:String |
setCredentials | () | method |
public override function setCredentials(username:String, password:String):void
Set the credentials for the destination accessed by the service. The credentials are applied to all services connected over the same ChannelSet. Note that services that use a proxy or a third-party adapter to a remote endpoint will need to setRemoteCredentials instead.
Parametersusername:String |
|
password:String |
setProperty | () | method |
flash_proxy override function setProperty(name:*, value:*):void
Parameters
name:* |
|
value:* |
fault | event |
mx.rpc.events.FaultEvent
The fault event is dispatched when a service call fails and isn't handled by the Operation itself.
The FAULT event type.
result | event |
mx.rpc.events.ResultEvent
The result event is dispatched when a service call successfully returns and isn't handled by the Operation itself.
The RESULT event type.