Packagejp.sourceforge.larch.core.command
Classpublic class RemotingCommand
InheritanceRemotingCommand Inheritance Command
Implementsmx.rpc.IResponder

リモートサービス呼び出しコマンド基底クラス



Public Properties
 PropertyDefined by
 InheritednextCommand : Command
次に実行するコマンド
Command
Protected Properties
 PropertyDefined by
 InheritedresultValue : Object
コンストラクタで指定した結果の設定先に結果を設定します。
Command
Public Methods
 MethodDefined by
  
RemotingCommand(aTarget:Object = null, aTargetProperty:String = null)
コンストラクタ
RemotingCommand
  
execute():void
サブクラスのコマンド処理を実行します。
RemotingCommand
  
fault(data:Object):void
非同期処理の異常終了処理です。 警告を表示します。
RemotingCommand
  
result(data:Object):void
非同期処理の正常終了処理です。 サブクラスの正常終了処理を実行後、次のコマンドを実行します。
RemotingCommand
Protected Methods
 MethodDefined by
  
doExecute():AsyncToken
コマンドの処理を実行します。 サブクラスにて実装してください。
RemotingCommand
  
doResult(data:ResultEvent):void
正常終了処理を実行します。 サブクラスにて実装してください。
RemotingCommand
Constructor detail
RemotingCommand()constructor
public function RemotingCommand(aTarget:Object = null, aTargetProperty:String = null)

コンストラクタ

Parameters
aTarget:Object (default = null) — 結果の設定先
 
aTargetProperty:String (default = null) — 結果の設定先のプロパティ名
Method detail
doExecute()method
protected function doExecute():AsyncToken

コマンドの処理を実行します。 サブクラスにて実装してください。

Returns
AsyncToken — 非同期処理のトークン
doResult()method 
protected function doResult(data:ResultEvent):void

正常終了処理を実行します。 サブクラスにて実装してください。

Parameters
data:ResultEvent — 処理結果
execute()method 
public override function execute():void

サブクラスのコマンド処理を実行します。

fault()method 
public function fault(data:Object):void

非同期処理の異常終了処理です。 警告を表示します。

Parameters
data:Object — 処理結果
result()method 
public function result(data:Object):void

非同期処理の正常終了処理です。 サブクラスの正常終了処理を実行後、次のコマンドを実行します。

Parameters
data:Object — 処理結果