前のトピック: OSRedirect.result メソッド次のトピック: RemoteTarget.RemoteTarget コンストラクタ


RemoteTarget クラス

RemoteTarget は、リモートでスクリプトを実行する run-remote コマンドと共に使用するユーティリティ クラスです。 RemoteTarget では、ホスト名、アドレス、認証に使用する認証情報などのターゲット システムの詳細を指定したり、エラー状態、出力、最終結果などのステータスや結果情報を取得したりします。

コンストラクタ

RemoteTarget(host [,user] [,pass] [,key] [,phrase] [, port])

メソッド

void abort()

int createRemoteContext()

int destroyRemoteContext()

bool errorOccurred()

bool execute(strScript)

int getError()

string getHostName()

bool hasCompleted()

string output()

string result()

bool wasAborted()

イベント ハンドラ

int onError(e)

int receivedOutput(s)

int receivedResult(s)

変数

static readonly REM_ERR_NONE

static readonly REM_ERR_CON

static readonly REM_ERR_AUTH

static readonly REM_ERR_CHN

static readonly REM_ERR_READ

static readonly REM_ERR_EXEC

static readonly REM_ERR_ABORT

static readonly REM_ERR_DISC

関連項目

RemoteTarget.RemoteTarget コンストラクタ

RemoteTarget.abort メソッド

RemoteTarget.createRemoteContext メソッド

RemoteTarget.destroyRemoteContext メソッド

RemoteTarget.errorOccurred メソッド

RemoteTarget.execute メソッド

RemoteTarget.getError メソッド

RemoteTarget.getHostName メソッド

RemoteTarget.hasCompleted メソッド

RemoteTarget.onError メソッド

RemoteTarget.output メソッド

RemoteTarget.receivedOutput メソッド

RemoteTarget.receivedResult メソッド

RemoteTarget.result メソッド

RemoteTarget.wasAborted メソッド

run-remote コマンド -- リモート システム上でスクリプトを実行(Funclet)