use of org.mobicents.smsc.slee.resources.scheduler.SchedulerActivity in project smscgateway by RestComm.
the class DeliveryCommonSbb method getSchedulerActivityContextInterface.
protected ActivityContextInterface getSchedulerActivityContextInterface() {
ActivityContextInterface[] acis = this.sbbContext.getActivities();
for (int count = 0; count < acis.length; count++) {
ActivityContextInterface aci = acis[count];
Object activity = aci.getActivity();
if (activity instanceof SchedulerActivity) {
return aci;
}
}
return null;
}
use of org.mobicents.smsc.slee.resources.scheduler.SchedulerActivity in project smscgateway by RestComm.
the class DeliveryCommonSbb method getSchedulerActivity.
private SchedulerActivity getSchedulerActivity() {
ActivityContextInterface[] acis = this.sbbContext.getActivities();
for (int count = 0; count < acis.length; count++) {
ActivityContextInterface aci = acis[count];
Object activity = aci.getActivity();
if (activity instanceof SchedulerActivity) {
return (SchedulerActivity) activity;
}
}
return null;
}
Aggregations