2.8.1 内部でconnectメソッドを使用するAPI

APIが内部でconnectメソッドを使用するかどうかは,TP1/Client/J環境定義のオペランドの指定によって異なります。内部でconnectメソッドを使用するAPI(メソッド)と,内部でconnectメソッドが使用されるTP1/Client/J環境定義のオペランドの条件を次の表に示します。条件が二つ以上あるAPI(メソッド)の場合,内部でconnectメソッドが使用されるには,一つ以上の条件を満たしている必要があります。

表2-3 内部でconnectメソッドを使用するAPI(メソッド)

項番内部でconnectメソッドを使用するメソッド内部でconnectメソッドが使用されるTP1/Client/J環境定義のオペランドの条件
1cltAssemSend(byte[] buff, int sendleng, String hostname, int portnum, int timeout, int flags)
  • dcsndrcvtype=DCCLT_ONEWAY_SND
  • dcsndrcvtype=DCCLT_SNDRCV
2cltSend(byte[] buff, int sendleng, String hostname, int portnum, int flags)
  • dcsndrcvtype=DCCLT_ONEWAY_SND
  • dcsndrcvtype=DCCLT_SNDRCV
3openConnection(String host, int port)dcrapdirect=Yかつdcrapautoconnect=N
4openConnection()dcrapdirect=Yかつdcrapautoconnect=N
5rpcCall(String group, String service, byte[] in_data, int[] in_len, byte[] out_data, int[] out_len, int flags)
  • dcscddirect=Y
  • dcnamuse=Y
または
  • dcrapdirect=Yかつdcrapautoconnect=Y
6rpcCall(String group, String service, byte[] in_data, byte[] out_data, int flags)
7rpcCallTo(DCRpcBindTbl direction, String group, String service, byte[] in_data, int[] in_len, byte[] out_data, int[] out_len, int flags)
  • dcscddirect=Y
  • dcnamuse=Y
8trnBegin()dcrapdirect=Yかつdcrapautoconnect=Y