分散トランザクション処理機能 TP1/Extension for .NET Framework 使用の手引
Admの概要
名前空間
Hitachi.OpenTP1.Server
継承関係
System.Object +- Hitachi.OpenTP1.Server.Adm
説明
Admクラスは,システム運用の管理のメソッドを提供します。
メソッドの一覧
| 名称 | 説明 |
|---|---|
| CallCommand(System.String, System.Int32&, System.String&, System.String&, System.Int32) | オンライン中にコマンドを入力したときと同様に,UAPからコマンドを渡します。 |
| CallCommand(System.String, System.Int32&, System.String&, System.Int32, System.String&, System.Int32, System.Int32) | オンライン中にコマンドを入力したときと同様に,UAPからコマンドを渡します。 |
| Complete() | SUP.NETの開始処理が終了したことを,OpenTP1に報告します。 |
| GetStatus() | このメソッドを呼び出したユーザサーバの状態を報告します。 |
メソッドの詳細
public static int CallCommand( string command, ref int statusCode, ref string stdoutMessage, ref string stderrMessage, int flags );
Public Shared Function CallCommand( _ ByVal command As String, _ ByRef statusCode As Integer, _ ByRef stdoutMessage As String, _ ByRef stderrMessage As String, _ ByVal flags As Integer _ ) As Integer
public static int CallCommand( System.String command, int statusCode, System.String stdoutMessage, System.String stderrMessage, int flags );
| リターンコード | 説明 |
|---|---|
| 0 (DC_OK) | 正常終了しました。 |
| -1855(DCADMER_STATNOTZERO) | コマンドの終了コードは0以外(コマンドの実行が異常終了)です。 標準出力および標準エラー出力のデータを格納しました。 |
| -1856(DCADMER_MEMORY_OUT) | 標準出力のデータが,デフォルト取得サイズを超えました。 デフォルトサイズ分の標準出力のデータを格納しました。 |
| -1857(DCADMER_MEMORY_ERR) | 標準エラー出力のデータが,デフォルト取得サイズを超えました。 デフォルトサイズ分の標準エラー出力のデータを格納しました。 |
| -1858(DCADMER_MEMORY_OUTERR) | 標準出力のデータと標準エラー出力のデータの両方が,デフォルト取得サイズを超えました。 デフォルトサイズ分の標準出力および標準エラー出力のデータを格納しました。 |
| エラーコード | 説明 |
|---|---|
| DCADMER_MEMORY_ERR | 標準エラー出力のデータが,デフォルトの取得サイズを超えました。 |
| DCADMER_MEMORY_OUT | 標準出力のデータが,デフォルトの取得サイズを超えました。 |
| DCADMER_MEMORY_OUTERR | 標準出力のデータと標準エラー出力のデータの両方が,デフォルトの取得サイズを超えました。 |
| DCADMER_PARAM | 引数に設定した値が間違っています。 |
| DCADMER_PROTO | RpcクラスのOpenメソッドを呼び出していません。 |
| DCADMER_STATNOTZERO | コマンドの終了コードは0以外(コマンドの実行が異常終了)です。 |
| DCADMER_SYSTEMCALL | システムコール(close,pipe,dup,またはread)の呼び出しに失敗しました。 |
public static int CallCommand( string command, ref int statusCode, ref string stdoutMessage, int stdoutMessage_len, ref string stderrMessage, int stderrMessage_len, int flags );
Public Shared Function CallCommand( _ ByVal command As String, _ ByRef statusCode As Integer, _ ByRef stdoutMessage As String, _ ByVal stdoutMessage_len As Integer, _ ByRef stderrMessage As String, _ ByVal stderrMessage_len As Integer, _ ByVal flags As Integer _ ) As Integer
public static int CallCommand( System.String command, int statusCode, System.String stdoutMessage, int stdoutMessage_len, System.String stderrMessage, int stderrMessage_len, int flags );
| リターンコード | 説明 |
|---|---|
| 0 (DC_OK) | 正常終了しました。 |
| -1855(DCADMER_STATNOTZERO) | コマンドの終了コードは0以外(コマンドの実行が異常終了)です。 標準出力および標準エラー出力のデータを格納しました。 |
| -1856(DCADMER_MEMORY_OUT) | 標準出力のデータが,指定取得サイズを超えました。 指定されたサイズ分の標準出力のデータを格納しました。 |
| -1857(DCADMER_MEMORY_ERR) | 標準エラー出力のデータが,指定取得サイズを超えました。 指定されたサイズ分の標準エラー出力のデータを格納しました。 |
| -1858(DCADMER_MEMORY_OUTERR) | 標準出力のデータと標準エラー出力のデータの両方が,指定取得サイズを超えました。 指定されたサイズ分の標準出力のデータおよび標準エラー出力のデータを格納しました。 |
| エラーコード | 説明 |
|---|---|
| DCADMER_MEMORY_ERR | 標準エラー出力のデータが,デフォルトの取得サイズを超えました。 |
| DCADMER_MEMORY_OUT | 標準出力のデータが,デフォルトの取得サイズを超えました。 |
| DCADMER_MEMORY_OUTERR | 標準出力のデータと標準エラー出力のデータの両方が,デフォルトの取得サイズを超えました。 |
| DCADMER_PARAM | 引数に設定した値が間違っています。 |
| DCADMER_PROTO | RpcクラスのOpenメソッドを呼び出していません。 |
| DCADMER_STATNOTZERO | コマンドの終了コードは0以外(コマンドの実行が異常終了)です。 |
| DCADMER_SYSTEMCALL | システムコール(close,pipe,dup,またはread)の呼び出しに失敗しました。 |
public static void Complete( );
Public Shared Sub Complete( _ )
public static void Complete( );
| エラーコード | 説明 |
|---|---|
| DCADMER_COMM | プロセス間通信でエラーが発生しました。 |
| DCADMER_PARAM | 引数に設定した値が間違っています。 |
| DCADMER_PROTO | ユーザサーバが正常開始中,または再開始中ではありません。 RpcクラスのOpenメソッドを呼び出していません。 |
| DCADMER_STS_IO | ステータス情報の入出力エラーが発生しました。 |
public static int GetStatus( );
Public Shared Function GetStatus( _ ) As Integer
public static int GetStatus( );
| エラーコード | 説明 |
|---|---|
| DCADMER_COMM | プロセス間通信でエラーが発生しました。 |
| DCADMER_PARAM | 引数に設定した値が間違っています。 |
| DCADMER_PROTO | ユーザサーバが正常開始中,または再開始中ではありません。 RpcクラスのOpenメソッドを呼び出していません。 |
| DCADMER_STS_IO | ステータス情報の入出力エラーが発生しました。 |
All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd.