org.iids.aos.kernel.xdr
Class protoClient

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

public class protoClient
extends org.acplt.oncrpc.OncRpcClientStub

The class protoClient 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
protoClient(java.net.InetAddress host, int protocol)
          Constructs a protoClient client stub proxy object from which the PROG remote program can be accessed.
protoClient(java.net.InetAddress host, int port, int protocol)
          Constructs a protoClient client stub proxy object from which the PROG remote program can be accessed.
protoClient(java.net.InetAddress host, int program, int version, int protocol)
          Constructs a protoClient client stub proxy object from which the PROG remote program can be accessed.
protoClient(java.net.InetAddress host, int program, int version, int port, int protocol)
          Constructs a protoClient client stub proxy object from which the PROG remote program can be accessed.
protoClient(org.acplt.oncrpc.OncRpcClient client)
          Constructs a protoClient 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

protoClient

public protoClient(java.net.InetAddress host,
                   int protocol)
            throws org.acplt.oncrpc.OncRpcException,
                   java.io.IOException
Constructs a protoClient 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.

protoClient

public protoClient(java.net.InetAddress host,
                   int port,
                   int protocol)
            throws org.acplt.oncrpc.OncRpcException,
                   java.io.IOException
Constructs a protoClient 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.

protoClient

public protoClient(org.acplt.oncrpc.OncRpcClient client)
            throws org.acplt.oncrpc.OncRpcException,
                   java.io.IOException
Constructs a protoClient 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.

protoClient

public protoClient(java.net.InetAddress host,
                   int program,
                   int version,
                   int protocol)
            throws org.acplt.oncrpc.OncRpcException,
                   java.io.IOException
Constructs a protoClient 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.

protoClient

public protoClient(java.net.InetAddress host,
                   int program,
                   int version,
                   int port,
                   int protocol)
            throws org.acplt.oncrpc.OncRpcException,
                   java.io.IOException
Constructs a protoClient 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.