Search in sources :

Example 1 with DefaultClock

use of org.restcomm.protocols.ss7.scheduler.DefaultClock in project smscgateway by RestComm.

the class SmscService method initSchedulerMBean.

private Scheduler initSchedulerMBean() {
    Scheduler schedulerMBean = null;
    try {
        schedulerMBean = new Scheduler();
        DefaultClock ss7Clock = initSs7Clock();
        schedulerMBean.setClock(ss7Clock);
    } catch (Exception e) {
        log.warn("SS7Scheduler MBean creating is failed: " + e);
    }
    return schedulerMBean;
}
Also used : Scheduler(org.restcomm.protocols.ss7.scheduler.Scheduler) DefaultClock(org.restcomm.protocols.ss7.scheduler.DefaultClock)

Aggregations

DefaultClock (org.restcomm.protocols.ss7.scheduler.DefaultClock)1 Scheduler (org.restcomm.protocols.ss7.scheduler.Scheduler)1