ccd
Class CCDClient

java.lang.Object
  extended by org.acplt.oncrpc.OncRpcClientStub
      extended by ccd.CCDClient

public class CCDClient
extends org.acplt.oncrpc.OncRpcClientStub

The class CCDClient implements the client stub proxy for the SEND_GUIDER 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
CCDClient(InetAddress host, int protocol)
          Constructs a CCDClient client stub proxy object from which the SEND_GUIDER remote program can be accessed.
CCDClient(InetAddress host, int port, int protocol)
          Constructs a CCDClient client stub proxy object from which the SEND_GUIDER remote program can be accessed.
CCDClient(InetAddress host, int program, int version, int protocol)
          Constructs a CCDClient client stub proxy object from which the SEND_GUIDER remote program can be accessed.
CCDClient(InetAddress host, int program, int version, int port, int protocol)
          Constructs a CCDClient client stub proxy object from which the SEND_GUIDER remote program can be accessed.
CCDClient(org.acplt.oncrpc.OncRpcClient client)
          Constructs a CCDClient client stub proxy object from which the SEND_GUIDER remote program can be accessed.
 
Method Summary
 int BIAS_1(cmd arg1)
          Call remote procedure BIAS_1.
 int DARK_1(cmd arg1)
          Call remote procedure DARK_1.
 int EXPOSURE_1(cmd arg1)
          Call remote procedure EXPOSURE_1.
 erg GET_BINNING_1(cmd arg1)
          Call remote procedure GET_BINNING_1.
 erg GET_EXPTIME_1(cmd arg1)
          Call remote procedure GET_EXPTIME_1.
 erg GET_FITS_DIR_1(cmd arg1)
          Call remote procedure GET_FITS_DIR_1.
 erg GET_FITS_NAME_1(cmd arg1)
          Call remote procedure GET_FITS_NAME_1.
 erg GET_INCREMENT_1(cmd arg1)
          Call remote procedure GET_INCREMENT_1.
 erg GET_MAX_PIXEL_1(cmd arg1)
          Call remote procedure GET_MAX_PIXEL_1.
 erg GET_PIXEL_1(cmd arg1)
          Call remote procedure GET_PIXEL_1.
 erg GET_POSTGAP_1(cmd arg1)
          Call remote procedure GET_POSTGAP_1.
 erg GET_PREGAP_1(cmd arg1)
          Call remote procedure GET_PREGAP_1.
 erg IS_EXPOSING_1(cmd arg1)
          Call remote procedure IS_EXPOSING_1.
 int RESET_1(cmd arg1)
          Call remote procedure RESET_1.
 int SEND_GUIDER_CMD_1(cmd arg1)
          Call remote procedure SEND_GUIDER_CMD_1.
 int SET_BINNING_1(cmd arg1)
          Call remote procedure SET_BINNING_1.
 int SET_CLK_H_1(cmd arg1)
          Call remote procedure SET_CLK_H_1.
 int SET_CLK_L_1(cmd arg1)
          Call remote procedure SET_CLK_L_1.
 int SET_EXPTIME_1(cmd arg1)
          Call remote procedure SET_EXPTIME_1.
 int SET_FITS_DIR_1(cmd arg1)
          Call remote procedure SET_FITS_DIR_1.
 int SET_FITS_NAME_1(cmd arg1)
          Call remote procedure SET_FITS_NAME_1.
 int SET_INCREMENT_1(cmd arg1)
          Call remote procedure SET_INCREMENT_1.
 int SET_MAX_PIXEL_1(cmd arg1)
          Call remote procedure SET_MAX_PIXEL_1.
 int SET_PIXEL_1(cmd arg1)
          Call remote procedure SET_PIXEL_1.
 int SET_POSTGAP_1(cmd arg1)
          Call remote procedure SET_POSTGAP_1.
 int SET_PREGAP_1(cmd arg1)
          Call remote procedure SET_PREGAP_1.
 int TEST_CLR_IMG_1(cmd arg1)
          Call remote procedure TEST_CLR_IMG_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

CCDClient

public CCDClient(InetAddress host,
                 int protocol)
          throws org.acplt.oncrpc.OncRpcException,
                 IOException
Constructs a CCDClient client stub proxy object from which the SEND_GUIDER 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.

CCDClient

public CCDClient(InetAddress host,
                 int port,
                 int protocol)
          throws org.acplt.oncrpc.OncRpcException,
                 IOException
Constructs a CCDClient client stub proxy object from which the SEND_GUIDER 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.

CCDClient

public CCDClient(org.acplt.oncrpc.OncRpcClient client)
          throws org.acplt.oncrpc.OncRpcException,
                 IOException
Constructs a CCDClient client stub proxy object from which the SEND_GUIDER 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.

CCDClient

public CCDClient(InetAddress host,
                 int program,
                 int version,
                 int protocol)
          throws org.acplt.oncrpc.OncRpcException,
                 IOException
Constructs a CCDClient client stub proxy object from which the SEND_GUIDER 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.

CCDClient

public CCDClient(InetAddress host,
                 int program,
                 int version,
                 int port,
                 int protocol)
          throws org.acplt.oncrpc.OncRpcException,
                 IOException
Constructs a CCDClient client stub proxy object from which the SEND_GUIDER 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

SEND_GUIDER_CMD_1

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

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

SET_PIXEL_1

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

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

SET_MAX_PIXEL_1

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

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

GET_MAX_PIXEL_1

public erg GET_MAX_PIXEL_1(cmd arg1)
                    throws org.acplt.oncrpc.OncRpcException,
                           IOException
Call remote procedure GET_MAX_PIXEL_1.

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

SET_FITS_NAME_1

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

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

BIAS_1

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

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

EXPOSURE_1

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

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

SET_CLK_H_1

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

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

SET_CLK_L_1

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

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

TEST_CLR_IMG_1

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

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

GET_PIXEL_1

public erg GET_PIXEL_1(cmd arg1)
                throws org.acplt.oncrpc.OncRpcException,
                       IOException
Call remote procedure GET_PIXEL_1.

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

SET_FITS_DIR_1

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

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

SET_EXPTIME_1

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

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

SET_INCREMENT_1

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

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

SET_BINNING_1

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

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

GET_EXPTIME_1

public erg GET_EXPTIME_1(cmd arg1)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
Call remote procedure GET_EXPTIME_1.

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

GET_BINNING_1

public erg GET_BINNING_1(cmd arg1)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
Call remote procedure GET_BINNING_1.

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

GET_INCREMENT_1

public erg GET_INCREMENT_1(cmd arg1)
                    throws org.acplt.oncrpc.OncRpcException,
                           IOException
Call remote procedure GET_INCREMENT_1.

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

SET_PREGAP_1

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

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

SET_POSTGAP_1

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

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

GET_PREGAP_1

public erg GET_PREGAP_1(cmd arg1)
                 throws org.acplt.oncrpc.OncRpcException,
                        IOException
Call remote procedure GET_PREGAP_1.

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

GET_POSTGAP_1

public erg GET_POSTGAP_1(cmd arg1)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
Call remote procedure GET_POSTGAP_1.

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

DARK_1

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

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

GET_FITS_DIR_1

public erg GET_FITS_DIR_1(cmd arg1)
                   throws org.acplt.oncrpc.OncRpcException,
                          IOException
Call remote procedure GET_FITS_DIR_1.

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

GET_FITS_NAME_1

public erg GET_FITS_NAME_1(cmd arg1)
                    throws org.acplt.oncrpc.OncRpcException,
                           IOException
Call remote procedure GET_FITS_NAME_1.

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

RESET_1

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

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

IS_EXPOSING_1

public erg IS_EXPOSING_1(cmd arg1)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
Call remote procedure IS_EXPOSING_1.

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