Search in sources :

Example 1 with ServiceInfo

use of alma.acsdaemon.ServiceInfo in project ACS by ACS-Community.

the class ServiceDaemonProxy method setManagerReference.

/* (non-Javadoc)
	 * @see com.cosylab.acs.maci.ServiceDaemon#setManagerReference(java.lang.String)
	 */
public void setManagerReference(String reference) throws RemoteException {
    try {
        ServiceInfo[] infos = new ServiceInfo[1];
        infos[0] = new ServiceInfo("manager", "", reference);
        daemon.set_configuration_reference((short) alma.acs.util.ACSPorts.getBasePort(), infos);
    //daemon.set_manager_reference((short)alma.acs.util.ACSPorts.getBasePort(), );
    } catch (Exception ex) {
        RemoteException re = new RemoteException("Failed to invoke 'set_configuration_reference()' method.", ex);
        throw re;
    }
}
Also used : ServiceInfo(alma.acsdaemon.ServiceInfo) RemoteException(com.cosylab.acs.maci.RemoteException) RemoteException(com.cosylab.acs.maci.RemoteException) IOException(java.io.IOException)

Aggregations

ServiceInfo (alma.acsdaemon.ServiceInfo)1 RemoteException (com.cosylab.acs.maci.RemoteException)1 IOException (java.io.IOException)1