分散トランザクション処理機能 OpenTP1 クライアント使用の手引 TP1/Client/J編
APIが内部でconnectメソッドを使用するかどうかは,TP1/Client/J環境定義のオペランドの指定によって異なります。内部でconnectメソッドを使用するAPI(メソッド)と,内部でconnectメソッドが使用されるTP1/Client/J環境定義のオペランドの条件を次の表に示します。条件が二つ以上あるAPI(メソッド)の場合,内部でconnectメソッドが使用されるには,一つ以上の条件を満たしている必要があります。
表2-3 内部でconnectメソッドを使用するAPI(メソッド)
| 項番 | 内部でconnectメソッドを使用するメソッド | 内部でconnectメソッドが使用されるTP1/Client/J環境定義のオペランドの条件 |
|---|---|---|
| 1 | cltAssemSend(byte[] buff, int sendleng, String hostname, int portnum, int timeout, int flags) |
|
| 2 | cltSend(byte[] buff, int sendleng, String hostname, int portnum, int flags) |
|
| 3 | openConnection(String host, int port) | dcrapdirect=Yかつdcrapautoconnect=N |
| 4 | openConnection() | dcrapdirect=Yかつdcrapautoconnect=N |
| 5 | rpcCall(String group, String service, byte[] in_data, int[] in_len, byte[] out_data, int[] out_len, int flags) |
|
| 6 | rpcCall(String group, String service, byte[] in_data, byte[] out_data, int flags) | |
| 7 | rpcCallTo(DCRpcBindTbl direction, String group, String service, byte[] in_data, int[] in_len, byte[] out_data, int[] out_len, int flags) |
|
| 8 | trnBegin() | dcrapdirect=Yかつdcrapautoconnect=Y |
All Rights Reserved. Copyright (C) 2006, 2008, Hitachi, Ltd.