Beispiel #1
0
 /// <summary>
 /// When a program becomes unavailable, it should unregister itself with the RPCBIND program on the same machine.
 /// The parameters and results have meanings identical to those of RPCBPROC_SET.
 /// The mapping of the ("r_prog", "r_vers", "r_netid") tuple with "r_addr" is deleted.
 /// If "r_netid" is NULL, all mappings specified by the ordered set ("r_prog", "r_vers", *) and the corresponding universal addresses are deleted.
 /// Only the owner of the service or the super-user is allowed to unset a service
 /// </summary>
 public Task <bool> UnSet(rpcb arg)
 {
     return(CreateTask <rpcb, bool>(2u, arg));
 }
Beispiel #2
0
 /// <summary>
 /// Given a program number "r_prog", version number "r_vers", and network identifier  "r_netid", this procedure returns the universal address
 /// on which the program is awaiting call requests.  The "r_netid" field of the argument is ignored and the "r_netid" is inferred from the
 /// network identifier of the transport on which the request came in.
 /// </summary>
 public Task <string> GetAddr(rpcb arg)
 {
     return(CreateTask <rpcb, string>(3u, arg));
 }
Beispiel #3
0
 /// <summary>
 /// This procedure returns a list of addresses for the given rpcb entry.
 /// The client may be able use the results to determine alternate transports that it can use to communicate with the server.
 /// </summary>
 public Task <List <rpcb_entry> > GetAddrList(rpcb arg)
 {
     return(CreateTask <rpcb, List <rpcb_entry> >(11u, arg));
 }