public class rstatClient
extends OncRpcClientStub
rstatClient implements the client stub proxy
for the RSTATPROG remote program. It provides method stubs
which, when called, in turn call the appropriate remote method (procedure).| Constructor and Description |
|---|
rstatClient(InetAddress host,
int protocol)
Constructs a
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed. |
rstatClient(InetAddress host,
int port,
int protocol)
Constructs a
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed. |
rstatClient(InetAddress host,
int program,
int version,
int protocol)
Constructs a
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed. |
rstatClient(InetAddress host,
int program,
int version,
int port,
int protocol)
Constructs a
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed. |
rstatClient(OncRpcClient client)
Constructs a
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed. |
| Modifier and Type | Method and Description |
|---|---|
int |
RSTATPROC_HAVEDISK_3()
Call remote procedure RSTATPROC_HAVEDISK_3.
|
int |
RSTATPROC_HAVEDISK_4()
Call remote procedure RSTATPROC_HAVEDISK_4.
|
statstime |
RSTATPROC_STATS_3()
Call remote procedure RSTATPROC_STATS_3.
|
statsvar |
RSTATPROC_STATS_4()
Call remote procedure RSTATPROC_STATS_4.
|
public rstatClient(InetAddress host, int protocol) throws OncRpcException, IOException
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed.host - Internet address of host where to contact the remote program.protocol - Protocol to be
used for ONC/RPC calls.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public rstatClient(InetAddress host, int port, int protocol) throws OncRpcException, IOException
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed.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.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public rstatClient(OncRpcClient client)
throws OncRpcException,
IOException
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed.client - ONC/RPC client connection object implementing a particular
protocol.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public rstatClient(InetAddress host, int program, int version, int protocol) throws OncRpcException, IOException
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed.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.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public rstatClient(InetAddress host, int program, int version, int port, int protocol) throws OncRpcException, IOException
rstatClient client stub proxy object
from which the RSTATPROG remote program can be accessed.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.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public statsvar RSTATPROC_STATS_4() throws OncRpcException, IOException
OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int RSTATPROC_HAVEDISK_4()
throws OncRpcException,
IOException
OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public statstime RSTATPROC_STATS_3() throws OncRpcException, IOException
OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int RSTATPROC_HAVEDISK_3()
throws OncRpcException,
IOException
OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.