Class AF2Main

java.lang.Object
  extended by AF2Main

public class AF2Main
extends java.lang.Object

The class AF2Main provides the main entry point into the AF2 Server. It instantiates the main Robot and frame grabber classes, starts up the CORBA services, and then enters the CORBA message loop.


Field Summary
private  java.lang.String ORBInitialHost
           
private  java.lang.String ORBInitialPort
           
private static org.omg.CORBA.ORB theorb
           
 
Constructor Summary
AF2Main()
          AF2Main's constructor
 
Method Summary
private  void CORBA_Connect(java.lang.String[] args, java.lang.String theInstrument)
          Contact the ORB, and register with the name server as a CORBA server
static org.omg.CORBA.ORB getOrb()
          Get the AF2's reference to the ORB
static void main(java.lang.String[] args)
          AF2' main entry point
private  void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORBInitialHost

private final java.lang.String ORBInitialHost
See Also:
Constant Field Values

ORBInitialPort

private final java.lang.String ORBInitialPort
See Also:
Constant Field Values

theorb

private static org.omg.CORBA.ORB theorb
Constructor Detail

AF2Main

public AF2Main()
AF2Main's constructor

Method Detail

main

public static void main(java.lang.String[] args)
AF2' main entry point

Parameters:
args - The command line arguments

test

private void test()

CORBA_Connect

private void CORBA_Connect(java.lang.String[] args,
                           java.lang.String theInstrument)
Contact the ORB, and register with the name server as a CORBA server

Parameters:
args - The command line arguments
theInstrument - The name of the instrument

getOrb

public static org.omg.CORBA.ORB getOrb()
Get the AF2's reference to the ORB

Returns:
The ORB