Packageorg.springextensions.actionscript.rpc.net
SVN browsingNetConnectionService.as
FisheyeNetConnectionService.as
Classpublic class NetConnectionService
ImplementsIService

Service that invokes methods on a NetConnection and returns an IOperation for each of these calls.



Documentation reference: services


Public Properties
 PropertyDefined by
  netConnection : NetConnection
Returns the NetConnection used by this service
NetConnectionService
Public Methods
 MethodDefined by
  
NetConnectionService(netConnection:NetConnection = null)
Creates a new NetConnectionService
NetConnectionService
  
call(methodName:String, ... parameters):IOperation
Invokes a method with the given method name and parameters on a (remote) object.
NetConnectionService
Property detail
netConnectionproperty
netConnection:NetConnection  [read-write]

Returns the NetConnection used by this service

Implementation
    public function get netConnection():NetConnection
    public function set netConnection(value:NetConnection):void
Constructor detail
NetConnectionService()constructor
public function NetConnectionService(netConnection:NetConnection = null)

Creates a new NetConnectionService

Parameters
netConnection:NetConnection (default = null) — the netconnection used by this service
Method detail
call()method
public function call(methodName:String, ... parameters):IOperation

Invokes a method with the given method name and parameters on a (remote) object.

Parameters
methodName:String — the name of the method to invoke
 
... parameters — the paramters passed to the invoked method

Returns
IOperation — an operation for the invoked method