All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class distinct.rpc.rpcbind.rpcbcl

java.lang.Object
   |
   +----distinct.rpc.JRPCClient
           |
           +----distinct.rpc.rpcbind.rpcbcl

public class rpcbcl
extends JRPCClient
This class was automatically generated by Jrpcgen from the RPC/XDR file "rpcbind.x"
. It defines the client interface to a server implementing the "RPCBPROG" interface.


Variable Index

 o RPCB_PORT
 o RPCBPROC_BCAST
 o RPCBPROC_CALLIT
 o RPCBPROC_DUMP
 o RPCBPROC_GETADDR
 o RPCBPROC_GETADDRLIST
 o RPCBPROC_GETSTAT
 o RPCBPROC_GETTIME
 o RPCBPROC_GETVERSADDR
 o RPCBPROC_INDIRECT
 o RPCBPROC_SET
 o RPCBPROC_TADDR2UADDR
 o RPCBPROC_UADDR2TADDR
 o RPCBPROC_UNSET
 o RPCBPROG
Program ID of the interface.
 o RPCBSTAT_HIGHPROC
 o RPCBVERS
Version ID of the interface.
 o RPCBVERS4
Version ID of the interface.
 o RPCBVERS_2_STAT
 o RPCBVERS_3_STAT
 o RPCBVERS_4_STAT
 o RPCBVERS_STAT

Constructor Index

 o rpcbcl(ClientGeneric)
Creates an RPC client for a server that implements the "rpcbcl" interface.
 o rpcbcl(int, InetAddress, boolean)
Creates and connects an RPC client for a server that implements the "rpcbcl" interface.
 o rpcbcl(int, InetAddress, int, boolean)
Creates and connects an RPC client for a server that implements the "rpcbcl" interface.

Method Index

 o RPCBPROC_BCAST_4(rpcb_rmtcallargs)
Stub method that invokes the server function "RPCBPROC_BCAST" (version 4).
 o RPCBPROC_CALLIT_3(rpcb_rmtcallargs)
Stub method that invokes the server function "RPCBPROC_CALLIT" (version 3).
 o RPCBPROC_DUMP_3()
Stub method that invokes the server function "RPCBPROC_DUMP" (version 3).
 o RPCBPROC_DUMP_4()
Stub method that invokes the server function "RPCBPROC_DUMP" (version 4).
 o RPCBPROC_GETADDR_3(rpcb)
Stub method that invokes the server function "RPCBPROC_GETADDR" (version 3).
 o RPCBPROC_GETADDR_4(rpcb)
Stub method that invokes the server function "RPCBPROC_GETADDR" (version 4).
 o RPCBPROC_GETADDRLIST_4(rpcb)
Stub method that invokes the server function "RPCBPROC_GETADDRLIST" (version 4).
 o RPCBPROC_GETSTAT_4()
Stub method that invokes the server function "RPCBPROC_GETSTAT" (version 4).
 o RPCBPROC_GETTIME_3()
Stub method that invokes the server function "RPCBPROC_GETTIME" (version 3).
 o RPCBPROC_GETTIME_4()
Stub method that invokes the server function "RPCBPROC_GETTIME" (version 4).
 o RPCBPROC_GETVERSADDR_4(rpcb)
Stub method that invokes the server function "RPCBPROC_GETVERSADDR" (version 4).
 o RPCBPROC_INDIRECT_4(rpcb_rmtcallargs)
Stub method that invokes the server function "RPCBPROC_INDIRECT" (version 4).
 o RPCBPROC_SET_3(rpcb)
Stub method that invokes the server function "RPCBPROC_SET" (version 3).
 o RPCBPROC_SET_4(rpcb)
Stub method that invokes the server function "RPCBPROC_SET" (version 4).
 o RPCBPROC_TADDR2UADDR_3(netbuf)
Stub method that invokes the server function "RPCBPROC_TADDR2UADDR" (version 3).
 o RPCBPROC_TADDR2UADDR_4(netbuf)
Stub method that invokes the server function "RPCBPROC_TADDR2UADDR" (version 4).
 o RPCBPROC_UADDR2TADDR_3(String)
Stub method that invokes the server function "RPCBPROC_UADDR2TADDR" (version 3).
 o RPCBPROC_UADDR2TADDR_4(String)
Stub method that invokes the server function "RPCBPROC_UADDR2TADDR" (version 4).
 o RPCBPROC_UNSET_3(rpcb)
Stub method that invokes the server function "RPCBPROC_UNSET" (version 3).
 o RPCBPROC_UNSET_4(rpcb)
Stub method that invokes the server function "RPCBPROC_UNSET" (version 4).

Variables

 o RPCB_PORT
 public static final int RPCB_PORT
 o RPCBSTAT_HIGHPROC
 public static final int RPCBSTAT_HIGHPROC
 o RPCBVERS_STAT
 public static final int RPCBVERS_STAT
 o RPCBVERS_4_STAT
 public static final int RPCBVERS_4_STAT
 o RPCBVERS_3_STAT
 public static final int RPCBVERS_3_STAT
 o RPCBVERS_2_STAT
 public static final int RPCBVERS_2_STAT
 o RPCBPROG
 public static final int RPCBPROG
Program ID of the interface.

 o RPCBVERS
 public static final int RPCBVERS
Version ID of the interface.

 o RPCBPROC_SET
 public static final int RPCBPROC_SET
 o RPCBPROC_UNSET
 public static final int RPCBPROC_UNSET
 o RPCBPROC_GETADDR
 public static final int RPCBPROC_GETADDR
 o RPCBPROC_DUMP
 public static final int RPCBPROC_DUMP
 o RPCBPROC_CALLIT
 public static final int RPCBPROC_CALLIT
 o RPCBPROC_GETTIME
 public static final int RPCBPROC_GETTIME
 o RPCBPROC_UADDR2TADDR
 public static final int RPCBPROC_UADDR2TADDR
 o RPCBPROC_TADDR2UADDR
 public static final int RPCBPROC_TADDR2UADDR
 o RPCBVERS4
 public static final int RPCBVERS4
Version ID of the interface.

 o RPCBPROC_BCAST
 public static final int RPCBPROC_BCAST
 o RPCBPROC_GETVERSADDR
 public static final int RPCBPROC_GETVERSADDR
 o RPCBPROC_INDIRECT
 public static final int RPCBPROC_INDIRECT
 o RPCBPROC_GETADDRLIST
 public static final int RPCBPROC_GETADDRLIST
 o RPCBPROC_GETSTAT
 public static final int RPCBPROC_GETSTAT

Constructors

 o rpcbcl
 public rpcbcl(int vers,
               InetAddress host,
               boolean stream) throws RPCError
Creates and connects an RPC client for a server that implements the "rpcbcl" interface. Calls the remote Portmapper in order to get the port of the server.

Parameters:
vers - The program version of the server as defined in the .x IDL file.
host - The host on which the server lives.
stream - true for a TCP connection, false for UDP.
Throws: RPCError
When the calls fails for any reason.
 o rpcbcl
 public rpcbcl(int vers,
               InetAddress host,
               int port,
               boolean stream) throws RPCError
Creates and connects an RPC client for a server that implements the "rpcbcl" interface. The client is connected it to a server with a known port. (No interaction with a portmapper)

Parameters:
vers - The program version of the server as defined in the .x IDL file.
host - The host on which the server lives.
port - The port on which the server listens.
stream - true for a TCP connection, false for UDP.
Throws: RPCError
When the calls fails for any reason.
 o rpcbcl
 public rpcbcl(ClientGeneric protocol)
Creates an RPC client for a server that implements the "rpcbcl" interface. It initializes it with a externally created protocol client object.

Parameters:
protocol - The protocol object that implements the client connection.

Methods

 o RPCBPROC_SET_3
 public boolean RPCBPROC_SET_3(rpcb arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_SET" (version 3).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_UNSET_3
 public boolean RPCBPROC_UNSET_3(rpcb arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_UNSET" (version 3).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_GETADDR_3
 public String RPCBPROC_GETADDR_3(rpcb arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_GETADDR" (version 3).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_DUMP_3
 public rpcblist_ptr RPCBPROC_DUMP_3() throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_DUMP" (version 3).

Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_CALLIT_3
 public rpcb_rmtcallres RPCBPROC_CALLIT_3(rpcb_rmtcallargs arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_CALLIT" (version 3).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_GETTIME_3
 public int RPCBPROC_GETTIME_3() throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_GETTIME" (version 3).

Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_UADDR2TADDR_3
 public netbuf RPCBPROC_UADDR2TADDR_3(String arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_UADDR2TADDR" (version 3).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_TADDR2UADDR_3
 public String RPCBPROC_TADDR2UADDR_3(netbuf arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_TADDR2UADDR" (version 3).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_SET_4
 public boolean RPCBPROC_SET_4(rpcb arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_SET" (version 4).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_UNSET_4
 public boolean RPCBPROC_UNSET_4(rpcb arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_UNSET" (version 4).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_GETADDR_4
 public String RPCBPROC_GETADDR_4(rpcb arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_GETADDR" (version 4).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_DUMP_4
 public rpcblist_ptr RPCBPROC_DUMP_4() throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_DUMP" (version 4).

Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_BCAST_4
 public rpcb_rmtcallres RPCBPROC_BCAST_4(rpcb_rmtcallargs arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_BCAST" (version 4).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_GETTIME_4
 public int RPCBPROC_GETTIME_4() throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_GETTIME" (version 4).

Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_UADDR2TADDR_4
 public netbuf RPCBPROC_UADDR2TADDR_4(String arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_UADDR2TADDR" (version 4).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_TADDR2UADDR_4
 public String RPCBPROC_TADDR2UADDR_4(netbuf arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_TADDR2UADDR" (version 4).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_GETVERSADDR_4
 public String RPCBPROC_GETVERSADDR_4(rpcb arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_GETVERSADDR" (version 4).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_INDIRECT_4
 public rpcb_rmtcallres RPCBPROC_INDIRECT_4(rpcb_rmtcallargs arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_INDIRECT" (version 4).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_GETADDRLIST_4
 public rpcb_entry_list_ptr RPCBPROC_GETADDRLIST_4(rpcb arg) throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_GETADDRLIST" (version 4).

Parameters:
arg - The input parameter of the RPC.
Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.
 o RPCBPROC_GETSTAT_4
 public rpcb_stat_byvers RPCBPROC_GETSTAT_4() throws RPCError, IOException
Stub method that invokes the server function "RPCBPROC_GETSTAT" (version 4).

Returns:
The return value of the RPC.
Throws: IOException
When the RPC fails because the socket connetion fails.
Throws: RPCError
When the RPC fails for any other reason.

All Packages  Class Hierarchy  This Package  Previous  Next  Index