Packageorg.seasar.flex2.rpc.remoting
Classpublic dynamic class S2Flex2Service
InheritanceS2Flex2Service Inheritance mx.rpc.AbstractService
Implementsmx.core.IMXMLObject
SubclassesRemoteService

S2Flex2Serviceは、S2Flex2のgatewayに接続する為のコンポーネントクラスです。
S2Flex2Service is ...(TBD)



Public Properties
 PropertyDefined by
  concurrency : String
S2Flex2Service
  configType : String
S2Flex2Service
  gatewayUrl : String
S2Flex2Service
  id : String
S2Flex2Service
  showBusyCursor : Boolean
S2Flex2Service
Protected Properties
 PropertyDefined by
  _con : NetConnection
S2Flex2Service
Public Methods
 MethodDefined by
  
S2Flex2Service(destination:String = null)
コンストラクタ
destinationをセットしたうえでResponderの配列を初期化します。
S2Flex2Service
  
initialized(document:Object, id:String):void
S2Flex2Service
  
onFault(operation:String, result:*):void
S2Flex2Service
  
onResult(operation:String, result:*):void
S2Flex2Service
  
setRemoteCredentials(remoteUsername:String, remotePassword:String):void
S2Flex2Service
Protected Methods
 MethodDefined by
  
callProperty(methodName:*, ... args):*
S2Flex2Service
  
NetConnectionにEventListenerの設定を行います。
S2Flex2Service
  
NetConnectionのインスタンスを生成します。
S2Flex2Service
  
getProperty(name:*):*
指定されたnameにあわせたOperationを返します。
S2Flex2Service
  
NetConnectionの初期化を行います。
S2Flex2Service
  
setProperty(name:*, value:*):void
Serviceより呼び出すOperationをセットします。
S2Flex2Service
Events
 EventSummaryDefined by
    S2Flex2Service
    S2Flex2Service
    S2Flex2Service
    S2Flex2Service
    S2Flex2Service
Property detail
_conproperty
protected var _con:NetConnection
concurrencyproperty 
public var concurrency:String
configTypeproperty 
public var configType:String
gatewayUrlproperty 
public var gatewayUrl:String
idproperty 
public var id:String
showBusyCursorproperty 
public var showBusyCursor:Boolean
Constructor detail
S2Flex2Service()constructor
public function S2Flex2Service(destination:String = null)

コンストラクタ
destinationをセットしたうえでResponderの配列を初期化します。

Parameters
destination:String (default = null)
Method detail
callProperty()method
flash_proxy override function callProperty(methodName:*, ... args):*Parameters
methodName:*
 
... args

Returns
*
configureListeners()method 
protected function configureListeners():void

NetConnectionにEventListenerの設定を行います。

createConnection()method 
protected function createConnection():void

NetConnectionのインスタンスを生成します。

getProperty()method 
flash_proxy override function getProperty(name:*):*

指定されたnameにあわせたOperationを返します。

Parameters
name:*

Returns
* — RPCOperation
initConnection()method 
protected function initConnection():void

NetConnectionの初期化を行います。

initialized()method 
public function initialized(document:Object, id:String):voidParameters
document:Object
 
id:String
onFault()method 
public function onFault(operation:String, result:*):voidParameters
operation:String
 
result:*
onResult()method 
public function onResult(operation:String, result:*):voidParameters
operation:String
 
result:*
setProperty()method 
flash_proxy override function setProperty(name:*, value:*):void

Serviceより呼び出すOperationをセットします。

Parameters
name:* — メソッド名
 
value:* — メソッドに対応したRPCOperation
setRemoteCredentials()method 
public override function setRemoteCredentials(remoteUsername:String, remotePassword:String):voidParameters
remoteUsername:String
 
remotePassword:String
Event detail
faultevent 
Event object type: mx.rpc.events.FaultEvent

ioErrorevent  
Event object type: flash.events.IOErrorEvent

netStatusevent  
Event object type: flash.events.NetStatusEvent

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

securityErrorevent  
Event object type: flash.events.SecurityErrorEvent