bamboo.dht
Class gateway_protClient

java.lang.Object
  extended by org.acplt.oncrpc.OncRpcClientStub
      extended by bamboo.dht.gateway_protClient

public class gateway_protClient
extends org.acplt.oncrpc.OncRpcClientStub

The class gateway_protClient implements the client stub proxy for the BAMBOO_DHT_GATEWAY_PROGRAM remote program. It provides method stubs which, when called, in turn call the appropriate remote method (procedure).


Field Summary
 
Fields inherited from class org.acplt.oncrpc.OncRpcClientStub
client
 
Constructor Summary
gateway_protClient(InetAddress host, int protocol)
          Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.
gateway_protClient(InetAddress host, int port, int protocol)
          Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.
gateway_protClient(InetAddress host, int program, int version, int protocol)
          Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.
gateway_protClient(InetAddress host, int program, int version, int port, int protocol)
          Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.
gateway_protClient(org.acplt.oncrpc.OncRpcClient client)
          Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.
 
Method Summary
 bamboo_get_res BAMBOO_DHT_PROC_GET_2(bamboo_get_args arg1)
          Call remote procedure BAMBOO_DHT_PROC_GET_2.
 void BAMBOO_DHT_PROC_NULL_2()
          Call remote procedure BAMBOO_DHT_PROC_NULL_2.
 int BAMBOO_DHT_PROC_PUT_2(bamboo_put_args arg1)
          Call remote procedure BAMBOO_DHT_PROC_PUT_2.
 
Methods inherited from class org.acplt.oncrpc.OncRpcClientStub
close, getClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

gateway_protClient

public gateway_protClient(InetAddress host,
                          int protocol)
                   throws org.acplt.oncrpc.OncRpcException,
                          IOException
Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.

Parameters:
host - Internet address of host where to contact the remote program.
protocol - Protocol to be used for ONC/RPC calls.
Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
IOException - if an I/O error occurs.

gateway_protClient

public gateway_protClient(InetAddress host,
                          int port,
                          int protocol)
                   throws org.acplt.oncrpc.OncRpcException,
                          IOException
Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.

Parameters:
host - Internet address of host where to contact the remote program.
port - Port number at host where the remote program can be reached.
protocol - Protocol to be used for ONC/RPC calls.
Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
IOException - if an I/O error occurs.

gateway_protClient

public gateway_protClient(org.acplt.oncrpc.OncRpcClient client)
                   throws org.acplt.oncrpc.OncRpcException,
                          IOException
Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.

Parameters:
client - ONC/RPC client connection object implementing a particular protocol.
Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
IOException - if an I/O error occurs.

gateway_protClient

public gateway_protClient(InetAddress host,
                          int program,
                          int version,
                          int protocol)
                   throws org.acplt.oncrpc.OncRpcException,
                          IOException
Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.

Parameters:
host - Internet address of host where to contact the remote program.
program - Remote program number.
version - Remote program version number.
protocol - Protocol to be used for ONC/RPC calls.
Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
IOException - if an I/O error occurs.

gateway_protClient

public gateway_protClient(InetAddress host,
                          int program,
                          int version,
                          int port,
                          int protocol)
                   throws org.acplt.oncrpc.OncRpcException,
                          IOException
Constructs a gateway_protClient client stub proxy object from which the BAMBOO_DHT_GATEWAY_PROGRAM remote program can be accessed.

Parameters:
host - Internet address of host where to contact the remote program.
program - Remote program number.
version - Remote program version number.
port - Port number at host where the remote program can be reached.
protocol - Protocol to be used for ONC/RPC calls.
Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
IOException - if an I/O error occurs.
Method Detail

BAMBOO_DHT_PROC_NULL_2

public void BAMBOO_DHT_PROC_NULL_2()
                            throws org.acplt.oncrpc.OncRpcException,
                                   IOException
Call remote procedure BAMBOO_DHT_PROC_NULL_2.

Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
IOException - if an I/O error occurs.

BAMBOO_DHT_PROC_PUT_2

public int BAMBOO_DHT_PROC_PUT_2(bamboo_put_args arg1)
                          throws org.acplt.oncrpc.OncRpcException,
                                 IOException
Call remote procedure BAMBOO_DHT_PROC_PUT_2.

Parameters:
arg1 - parameter (of type bamboo_put_args) to the remote procedure call.
Returns:
Result from remote procedure call (of type bamboo_stat).
Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
IOException - if an I/O error occurs.

BAMBOO_DHT_PROC_GET_2

public bamboo_get_res BAMBOO_DHT_PROC_GET_2(bamboo_get_args arg1)
                                     throws org.acplt.oncrpc.OncRpcException,
                                            IOException
Call remote procedure BAMBOO_DHT_PROC_GET_2.

Parameters:
arg1 - parameter (of type bamboo_get_args) to the remote procedure call.
Returns:
Result from remote procedure call (of type bamboo_get_res).
Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
IOException - if an I/O error occurs.