Search in sources :

Example 1 with AdvancedContainerServices

use of alma.acs.container.AdvancedContainerServices in project ACS by ACS-Community.

the class LoggingClient method connect.

/**
	 * Connects to the remote system
	 * as soon as the item "New" is clicked.
	 */
public void connect() {
    if (containerServices != null) {
        ORB orb = null;
        AdvancedContainerServices advContSvc = containerServices.getAdvancedContainerServices();
        if (advContSvc != null) {
            orb = advContSvc.getORB();
            getEngine().setConnectionParams(orb, null);
        }
    }
    try {
        getEngine().connect("ACS");
    } catch (java.lang.Throwable ivjExc) {
        handleException(ivjExc);
    }
}
Also used : AdvancedContainerServices(alma.acs.container.AdvancedContainerServices) ORB(org.omg.CORBA.ORB)

Aggregations

AdvancedContainerServices (alma.acs.container.AdvancedContainerServices)1 ORB (org.omg.CORBA.ORB)1