org.iids.aos.kernel.xdr
Class tocClient

java.lang.Object
  extended by org.acplt.oncrpc.OncRpcClientStub
      extended by org.iids.aos.kernel.xdr.tocClient

public class tocClient
extends org.acplt.oncrpc.OncRpcClientStub

The class tocClient implements the client stub proxy for the PROG 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
tocClient(java.net.InetAddress host, int protocol)
          Constructs a tocClient client stub proxy object from which the PROG remote program can be accessed.
tocClient(java.net.InetAddress host, int port, int protocol)
          Constructs a tocClient client stub proxy object from which the PROG remote program can be accessed.
tocClient(java.net.InetAddress host, int program, int version, int protocol)
          Constructs a tocClient client stub proxy object from which the PROG remote program can be accessed.
tocClient(java.net.InetAddress host, int program, int version, int port, int protocol)
          Constructs a tocClient client stub proxy object from which the PROG remote program can be accessed.
tocClient(org.acplt.oncrpc.OncRpcClient client)
          Constructs a tocClient client stub proxy object from which the PROG remote program can be accessed.
 
Method Summary
 void NULL_1(int arg1)
          Call remote procedure NULL_1.
 
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

tocClient

public tocClient(java.net.InetAddress host,
                 int protocol)
          throws org.acplt.oncrpc.OncRpcException,
                 java.io.IOException
Constructs a tocClient client stub proxy object from which the PROG 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.
java.io.IOException - if an I/O error occurs.

tocClient

public tocClient(java.net.InetAddress host,
                 int port,
                 int protocol)
          throws org.acplt.oncrpc.OncRpcException,
                 java.io.IOException
Constructs a tocClient client stub proxy object from which the PROG 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.
java.io.IOException - if an I/O error occurs.

tocClient

public tocClient(org.acplt.oncrpc.OncRpcClient client)
          throws org.acplt.oncrpc.OncRpcException,
                 java.io.IOException
Constructs a tocClient client stub proxy object from which the PROG 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.
java.io.IOException - if an I/O error occurs.

tocClient

public tocClient(java.net.InetAddress host,
                 int program,
                 int version,
                 int protocol)
          throws org.acplt.oncrpc.OncRpcException,
                 java.io.IOException
Constructs a tocClient client stub proxy object from which the PROG 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.
java.io.IOException - if an I/O error occurs.

tocClient

public tocClient(java.net.InetAddress host,
                 int program,
                 int version,
                 int port,
                 int protocol)
          throws org.acplt.oncrpc.OncRpcException,
                 java.io.IOException
Constructs a tocClient client stub proxy object from which the PROG 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.
java.io.IOException - if an I/O error occurs.
Method Detail

NULL_1

public void NULL_1(int arg1)
            throws org.acplt.oncrpc.OncRpcException,
                   java.io.IOException
Call remote procedure NULL_1.

Parameters:
arg1 - parameter (of type int) to the remote procedure call.
Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
java.io.IOException - if an I/O error occurs.


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.