stella.firecam
Class FirecamClient

java.lang.Object
  extended by org.acplt.oncrpc.OncRpcClientStub
      extended by stella.firecam.FirecamClient

public class FirecamClient
extends org.acplt.oncrpc.OncRpcClientStub

The class FirecamClient implements the client stub proxy for the FIRECAM_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
FirecamClient(InetAddress host, int protocol)
          Constructs a FirecamClient client stub proxy object from which the FIRECAM_PROG remote program can be accessed.
FirecamClient(InetAddress host, int port, int protocol)
          Constructs a FirecamClient client stub proxy object from which the FIRECAM_PROG remote program can be accessed.
FirecamClient(InetAddress host, int program, int version, int protocol)
          Constructs a FirecamClient client stub proxy object from which the FIRECAM_PROG remote program can be accessed.
FirecamClient(InetAddress host, int program, int version, int port, int protocol)
          Constructs a FirecamClient client stub proxy object from which the FIRECAM_PROG remote program can be accessed.
FirecamClient(org.acplt.oncrpc.OncRpcClient client)
          Constructs a FirecamClient client stub proxy object from which the FIRECAM_PROG remote program can be accessed.
 
Method Summary
 int CLOSE_1()
          Call remote procedure CLOSE_1.
 int GET_EXPTIME_1()
          Call remote procedure GET_EXPTIME_1.
 double GET_FRAMERATE_1()
          Call remote procedure GET_FRAMERATE_1.
 int GET_GAIN_1()
          Call remote procedure GET_GAIN_1.
 imagearr GET_IMAGE_1()
          Call remote procedure GET_IMAGE_1.
 int GRAB_IMAGES_1(int arg1)
          Call remote procedure GRAB_IMAGES_1.
 int HARD_RESET_1()
          Call remote procedure HARD_RESET_1.
 int INIT_1()
          Call remote procedure INIT_1.
 int OPEN_1()
          Call remote procedure OPEN_1.
 int SAVE_IMAGE_1(String arg1)
          Call remote procedure SAVE_IMAGE_1.
 int SET_EXPTIME_1(int arg1)
          Call remote procedure SET_EXPTIME_1.
 int SET_FRAMERATE_1(double arg1)
          Call remote procedure SET_FRAMERATE_1.
 int SET_GAIN_1(int arg1)
          Call remote procedure SET_GAIN_1.
 int START_TRANSMISSION_1()
          Call remote procedure START_TRANSMISSION_1.
 int STOP_TRANSMISSION_1()
          Call remote procedure STOP_TRANSMISSION_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

FirecamClient

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

FirecamClient

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

FirecamClient

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

FirecamClient

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

FirecamClient

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

OPEN_1

public int OPEN_1()
           throws org.acplt.oncrpc.OncRpcException,
                  IOException
Call remote procedure OPEN_1.

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.

INIT_1

public int INIT_1()
           throws org.acplt.oncrpc.OncRpcException,
                  IOException
Call remote procedure INIT_1.

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.

START_TRANSMISSION_1

public int START_TRANSMISSION_1()
                         throws org.acplt.oncrpc.OncRpcException,
                                IOException
Call remote procedure START_TRANSMISSION_1.

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.

STOP_TRANSMISSION_1

public int STOP_TRANSMISSION_1()
                        throws org.acplt.oncrpc.OncRpcException,
                               IOException
Call remote procedure STOP_TRANSMISSION_1.

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.

CLOSE_1

public int CLOSE_1()
            throws org.acplt.oncrpc.OncRpcException,
                   IOException
Call remote procedure CLOSE_1.

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.

GRAB_IMAGES_1

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

Parameters:
arg1 - parameter (of type int) 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_IMAGE_1

public imagearr GET_IMAGE_1()
                     throws org.acplt.oncrpc.OncRpcException,
                            IOException
Call remote procedure GET_IMAGE_1.

Returns:
Result from remote procedure call (of type imagearr).
Throws:
org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
IOException - if an I/O error occurs.

SAVE_IMAGE_1

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

Parameters:
arg1 - parameter (of type String) 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_FRAMERATE_1

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

Parameters:
arg1 - parameter (of type double) 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_FRAMERATE_1

public double GET_FRAMERATE_1()
                       throws org.acplt.oncrpc.OncRpcException,
                              IOException
Call remote procedure GET_FRAMERATE_1.

Returns:
Result from remote procedure call (of type double).
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(int arg1)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
Call remote procedure SET_EXPTIME_1.

Parameters:
arg1 - parameter (of type int) 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 int GET_EXPTIME_1()
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
Call remote procedure GET_EXPTIME_1.

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_GAIN_1

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

Parameters:
arg1 - parameter (of type int) 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_GAIN_1

public int GET_GAIN_1()
               throws org.acplt.oncrpc.OncRpcException,
                      IOException
Call remote procedure GET_GAIN_1.

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.

HARD_RESET_1

public int HARD_RESET_1()
                 throws org.acplt.oncrpc.OncRpcException,
                        IOException
Call remote procedure HARD_RESET_1.

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.