com.addc.server.monitoring.MonitorPOATie Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addc-svr-monitor Show documentation
Show all versions of addc-svr-monitor Show documentation
Supplies the classes required for monitoring a server with the Amentet Monitoring Service
package com.addc.server.monitoring;
import org.omg.PortableServer.POA;
/**
* Generated from IDL interface "Monitor".
*
* @author JacORB IDL compiler V 3.9
* @version generated at Nov 9, 2019 1:39:38 PM
*/
public class MonitorPOATie
extends MonitorPOA
{
private MonitorOperations _delegate;
private POA _poa;
public MonitorPOATie(MonitorOperations delegate)
{
_delegate = delegate;
}
public MonitorPOATie(MonitorOperations delegate, POA poa)
{
_delegate = delegate;
_poa = poa;
}
public com.addc.server.monitoring.Monitor _this()
{
org.omg.CORBA.Object __o = _this_object() ;
com.addc.server.monitoring.Monitor __r = com.addc.server.monitoring.MonitorHelper.narrow(__o);
return __r;
}
public com.addc.server.monitoring.Monitor _this(org.omg.CORBA.ORB orb)
{
org.omg.CORBA.Object __o = _this_object(orb) ;
com.addc.server.monitoring.Monitor __r = com.addc.server.monitoring.MonitorHelper.narrow(__o);
return __r;
}
public MonitorOperations _delegate()
{
return _delegate;
}
public void _delegate(MonitorOperations delegate)
{
_delegate = delegate;
}
public POA _default_POA()
{
if (_poa != null)
{
return _poa;
}
return super._default_POA();
}
public void componentStops(java.lang.String corbaloc)
{
_delegate.componentStops(corbaloc);
}
public void componentRefresh(java.lang.String corbaloc)
{
_delegate.componentRefresh(corbaloc);
}
public void componentStarts(java.lang.String corbaloc, int leaseTime)
{
_delegate.componentStarts(corbaloc,leaseTime);
}
public java.lang.String[] listMonitoredComponents()
{
return _delegate.listMonitoredComponents();
}
}