public class TcpRpcClient
extends org.acplt.oncrpc.OncRpcClientStub
TcpRpcClient implements the client stub proxy
for the RPCTCP_PROG remote program. It provides method stubs
which, when called, in turn call the appropriate remote method (procedure).| Constructor and Description |
|---|
TcpRpcClient(InetAddress host,
int protocol)
Constructs a
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG remote program can be accessed. |
TcpRpcClient(InetAddress host,
int port,
int protocol)
Constructs a
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG remote program can be accessed. |
TcpRpcClient(InetAddress host,
int program,
int version,
int protocol)
Constructs a
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG remote program can be accessed. |
TcpRpcClient(InetAddress host,
int program,
int version,
int port,
int protocol)
Constructs a
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG remote program can be accessed. |
TcpRpcClient(org.acplt.oncrpc.OncRpcClient client)
Constructs a
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG remote program can be accessed. |
| Modifier and Type | Method and Description |
|---|---|
int |
ABORT_1()
Call remote procedure ABORT_1.
|
int |
CLOSE_1()
Call remote procedure CLOSE_1.
|
int |
DEROTATOR_1(double degpos)
Call remote procedure DEROTATOR_1.
|
int |
DEROTATOR_OFFSET_1(double degoff)
Call remote procedure DEROTATOR_OFFSET_1.
|
int |
FOCUS_1(double pos)
Call remote procedure FOCUS_1.
|
int |
FOCUS_OFFSET_1(double dpos)
Call remote procedure FOCUS_OFFSET_1.
|
xy |
GET_AZ_ALT_1()
Call remote procedure GET_AZ_ALT_1.
|
double |
GET_DEROTATOR_1()
Call remote procedure GET_DEROTATOR_1.
|
double |
GET_DEROTATOR_OFFSET_1()
Call remote procedure GET_DEROTATOR_OFFSET_1.
|
String |
GET_ERROR_1()
Call remote procedure GET_ERROR_1.
|
double |
GET_FOCUS_1()
Call remote procedure GET_FOCUS_1.
|
double |
GET_FOCUS_OFFSET_1()
Call remote procedure GET_FOCUS_OFFSET_1.
|
xy |
GET_OFFSET_1()
Call remote procedure GET_OFFSET_1.
|
xy |
GET_RA_DE_1()
Call remote procedure GET_RA_DE_1.
|
int |
INIT_TELESCOPE_1()
Call remote procedure INIT_TELESCOPE_1.
|
int |
IS_INIT_1()
Call remote procedure IS_INIT_1.
|
int |
IS_PARK_1()
Call remote procedure IS_PARK_1.
|
int |
IS_TRACK_1()
Call remote procedure IS_TRACK_1.
|
int |
MOVE_AZ_ALT_1(double az,
double alt)
Call remote procedure MOVE_AZ_ALT_1.
|
int |
MOVE_RA_DE_1(double radeg,
double dedeg)
Call remote procedure MOVE_RA_DE_1.
|
int |
OFFSET_1(double axis1,
double axis2)
Call remote procedure OFFSET_1.
|
int |
OPEN_1()
Call remote procedure OPEN_1.
|
int |
PARK_TELESCOPE_1()
Call remote procedure PARK_TELESCOPE_1.
|
int |
START_TRACK_1()
Call remote procedure START_TRACK_1.
|
int |
STOP_TRACK_1()
Call remote procedure STOP_TRACK_1.
|
int |
USE_DEROTATOR_1(int arg1)
Call remote procedure USE_DEROTATOR_1.
|
public TcpRpcClient(InetAddress host, int protocol) throws org.acplt.oncrpc.OncRpcException, IOException
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG 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.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public TcpRpcClient(InetAddress host, int port, int protocol) throws org.acplt.oncrpc.OncRpcException, IOException
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG 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.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public TcpRpcClient(org.acplt.oncrpc.OncRpcClient client)
throws org.acplt.oncrpc.OncRpcException,
IOException
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG remote program can be accessed.client - ONC/RPC client connection object implementing a particular
protocol.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public TcpRpcClient(InetAddress host, int program, int version, int protocol) throws org.acplt.oncrpc.OncRpcException, IOException
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG 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.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public TcpRpcClient(InetAddress host, int program, int version, int port, int protocol) throws org.acplt.oncrpc.OncRpcException, IOException
TcpRpcClient client stub proxy object
from which the RPCTCP_PROG 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.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int OPEN_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int CLOSE_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int INIT_TELESCOPE_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int PARK_TELESCOPE_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int ABORT_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int USE_DEROTATOR_1(int arg1)
throws org.acplt.oncrpc.OncRpcException,
IOException
arg1 - parameter (of type int) to the remote procedure call.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int DEROTATOR_1(double degpos)
throws org.acplt.oncrpc.OncRpcException,
IOException
degpos - parameter (of type double) to the remote procedure call.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int DEROTATOR_OFFSET_1(double degoff)
throws org.acplt.oncrpc.OncRpcException,
IOException
degoff - parameter (of type double) to the remote procedure call.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int FOCUS_1(double pos)
throws org.acplt.oncrpc.OncRpcException,
IOException
pos - parameter (of type double) to the remote procedure call.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int FOCUS_OFFSET_1(double dpos)
throws org.acplt.oncrpc.OncRpcException,
IOException
dpos - parameter (of type double) to the remote procedure call.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int MOVE_RA_DE_1(double radeg,
double dedeg)
throws org.acplt.oncrpc.OncRpcException,
IOException
radeg - parameter (of type double) to the remote procedure call.dedeg - parameter (of type double) to the remote procedure call.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int MOVE_AZ_ALT_1(double az,
double alt)
throws org.acplt.oncrpc.OncRpcException,
IOException
az - parameter (of type double) to the remote procedure call.alt - parameter (of type double) to the remote procedure call.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int START_TRACK_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int STOP_TRACK_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int OFFSET_1(double axis1,
double axis2)
throws org.acplt.oncrpc.OncRpcException,
IOException
axis1 - parameter (of type double) to the remote procedure call.axis2 - parameter (of type double) to the remote procedure call.org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public xy GET_OFFSET_1() throws org.acplt.oncrpc.OncRpcException, IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public xy GET_RA_DE_1() throws org.acplt.oncrpc.OncRpcException, IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public xy GET_AZ_ALT_1() throws org.acplt.oncrpc.OncRpcException, IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public double GET_DEROTATOR_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public double GET_DEROTATOR_OFFSET_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public double GET_FOCUS_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public double GET_FOCUS_OFFSET_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int IS_TRACK_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public String GET_ERROR_1() throws org.acplt.oncrpc.OncRpcException, IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int IS_INIT_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public int IS_PARK_1()
throws org.acplt.oncrpc.OncRpcException,
IOException
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.