All Packages Class Hierarchy This Package Previous Next Index
Class distinct.rpc.rpcbind.rpcbind
java.lang.Object
|
+----distinct.rpc.JRPCClient
|
+----distinct.rpc.rpcbind.rpcbind
- public class rpcbind
- 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.
-
RPCB_PORT
-
-
RPCBPROC_BCAST
-
-
RPCBPROC_CALLIT
-
-
RPCBPROC_DUMP
-
-
RPCBPROC_GETADDR
-
-
RPCBPROC_GETADDRLIST
-
-
RPCBPROC_GETSTAT
-
-
RPCBPROC_GETTIME
-
-
RPCBPROC_GETVERSADDR
-
-
RPCBPROC_INDIRECT
-
-
RPCBPROC_SET
-
-
RPCBPROC_TADDR2UADDR
-
-
RPCBPROC_UADDR2TADDR
-
-
RPCBPROC_UNSET
-
-
RPCBPROG
- Program ID of the interface.
-
RPCBSTAT_HIGHPROC
-
-
RPCBVERS
- Version ID of the interface.
-
RPCBVERS4
- Version ID of the interface.
-
RPCBVERS_2_STAT
-
-
RPCBVERS_3_STAT
-
-
RPCBVERS_4_STAT
-
-
RPCBVERS_STAT
-
-
rpcbind(ClientGeneric)
- Creates an RPC client for a server that implements the "rpcbind" interface.
-
rpcbind(int, InetAddress, boolean)
- Creates and connects an RPC client for a server that implements the "rpcbind" interface.
-
rpcbind(int, InetAddress, int, boolean)
- Creates and connects an RPC client for a server that implements the "rpcbind" interface.
-
RPCBPROC_BCAST_4(rpcb_rmtcallargs)
- Stub method that invokes the server function "RPCBPROC_BCAST" (version 4).
-
RPCBPROC_CALLIT_3(rpcb_rmtcallargs)
- Stub method that invokes the server function "RPCBPROC_CALLIT" (version 3).
-
RPCBPROC_DUMP_3()
- Stub method that invokes the server function "RPCBPROC_DUMP" (version 3).
-
RPCBPROC_DUMP_4()
- Stub method that invokes the server function "RPCBPROC_DUMP" (version 4).
-
RPCBPROC_GETADDR_3(rpcb)
- Stub method that invokes the server function "RPCBPROC_GETADDR" (version 3).
-
RPCBPROC_GETADDR_4(rpcb)
- Stub method that invokes the server function "RPCBPROC_GETADDR" (version 4).
-
RPCBPROC_GETADDRLIST_4(rpcb)
- Stub method that invokes the server function "RPCBPROC_GETADDRLIST" (version 4).
-
RPCBPROC_GETSTAT_4()
- Stub method that invokes the server function "RPCBPROC_GETSTAT" (version 4).
-
RPCBPROC_GETTIME_3()
- Stub method that invokes the server function "RPCBPROC_GETTIME" (version 3).
-
RPCBPROC_GETTIME_4()
- Stub method that invokes the server function "RPCBPROC_GETTIME" (version 4).
-
RPCBPROC_GETVERSADDR_4(rpcb)
- Stub method that invokes the server function "RPCBPROC_GETVERSADDR" (version 4).
-
RPCBPROC_INDIRECT_4(rpcb_rmtcallargs)
- Stub method that invokes the server function "RPCBPROC_INDIRECT" (version 4).
-
RPCBPROC_SET_3(rpcb)
- Stub method that invokes the server function "RPCBPROC_SET" (version 3).
-
RPCBPROC_SET_4(rpcb)
- Stub method that invokes the server function "RPCBPROC_SET" (version 4).
-
RPCBPROC_TADDR2UADDR_3(netbuf)
- Stub method that invokes the server function "RPCBPROC_TADDR2UADDR" (version 3).
-
RPCBPROC_TADDR2UADDR_4(netbuf)
- Stub method that invokes the server function "RPCBPROC_TADDR2UADDR" (version 4).
-
RPCBPROC_UADDR2TADDR_3(String)
- Stub method that invokes the server function "RPCBPROC_UADDR2TADDR" (version 3).
-
RPCBPROC_UADDR2TADDR_4(String)
- Stub method that invokes the server function "RPCBPROC_UADDR2TADDR" (version 4).
-
RPCBPROC_UNSET_3(rpcb)
- Stub method that invokes the server function "RPCBPROC_UNSET" (version 3).
-
RPCBPROC_UNSET_4(rpcb)
- Stub method that invokes the server function "RPCBPROC_UNSET" (version 4).
RPCB_PORT
public static final int RPCB_PORT
RPCBSTAT_HIGHPROC
public static final int RPCBSTAT_HIGHPROC
RPCBVERS_STAT
public static final int RPCBVERS_STAT
RPCBVERS_4_STAT
public static final int RPCBVERS_4_STAT
RPCBVERS_3_STAT
public static final int RPCBVERS_3_STAT
RPCBVERS_2_STAT
public static final int RPCBVERS_2_STAT
RPCBPROG
public static final int RPCBPROG
- Program ID of the interface.
RPCBVERS
public static final int RPCBVERS
- Version ID of the interface.
RPCBPROC_SET
public static final int RPCBPROC_SET
RPCBPROC_UNSET
public static final int RPCBPROC_UNSET
RPCBPROC_GETADDR
public static final int RPCBPROC_GETADDR
RPCBPROC_DUMP
public static final int RPCBPROC_DUMP
RPCBPROC_CALLIT
public static final int RPCBPROC_CALLIT
RPCBPROC_GETTIME
public static final int RPCBPROC_GETTIME
RPCBPROC_UADDR2TADDR
public static final int RPCBPROC_UADDR2TADDR
RPCBPROC_TADDR2UADDR
public static final int RPCBPROC_TADDR2UADDR
RPCBVERS4
public static final int RPCBVERS4
- Version ID of the interface.
RPCBPROC_BCAST
public static final int RPCBPROC_BCAST
RPCBPROC_GETVERSADDR
public static final int RPCBPROC_GETVERSADDR
RPCBPROC_INDIRECT
public static final int RPCBPROC_INDIRECT
RPCBPROC_GETADDRLIST
public static final int RPCBPROC_GETADDRLIST
RPCBPROC_GETSTAT
public static final int RPCBPROC_GETSTAT
rpcbind
public rpcbind(int vers,
InetAddress host,
boolean stream) throws RPCError
- Creates and connects an RPC client for a server that implements the "rpcbind" 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.
rpcbind
public rpcbind(int vers,
InetAddress host,
int port,
boolean stream) throws RPCError
- Creates and connects an RPC client for a server that implements the "rpcbind" 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.
rpcbind
public rpcbind(ClientGeneric protocol)
- Creates an RPC client for a server that implements the "rpcbind" interface.
It initializes it with a externally created protocol client object.
- Parameters:
- protocol - The protocol object that implements the client connection.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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