コード例 #1
0
ファイル: RpcBindV3.cs プロジェクト: qipa/OncRpc
 /// <summary>
 /// This procedure allows a caller to call another remote procedure on the same machine without knowing the remote procedure's universal
 /// address.  It is intended for supporting broadcasts to arbitrary remote programs via RPCBIND's universal address.  The parameters
 /// "prog", "vers", "proc", and args are the program number, version number, procedure number, and parameters of the remote procedure.
 /// Note - This procedure only sends a response if the procedure was successfully executed and is silent (no response) otherwise.
 /// The procedure returns the remote program's universal address, and the results of the remote procedure.
 /// </summary>
 public Task <rpcb_rmtcallres> CallIt(rpcb_rmtcallargs arg)
 {
     return(CreateTask <rpcb_rmtcallargs, rpcb_rmtcallres>(5u, arg));
 }
コード例 #2
0
ファイル: RpcBindV4.cs プロジェクト: qipa/OncRpc
 /// <summary>
 /// Similar to RPCBPROC_CALLIT. Instead of being silent about errors (such as the program not being registered on the system), this
 /// procedure returns an indication of the error.  This procedure should not be used for broadcast RPC. It is intended to be used with
 /// indirect RPC calls only.
 /// </summary>
 public Task <rpcb_rmtcallres> Indirect(rpcb_rmtcallargs arg)
 {
     return(CreateTask <rpcb_rmtcallargs, rpcb_rmtcallres>(10u, arg));
 }