use of org.bedework.calcorei.Calintf in project bw-calendar-engine by Bedework.
the class CalSvc method kill.
@Override
public void kill(final IfInfo ifInfo) {
try {
for (final Calintf ci : getCal().active()) {
final IfInfo calIfInfo = ci.getIfInfo();
if (calIfInfo.getId().equals(ifInfo.getId())) {
warn("Stopping interface with id " + ifInfo.getId());
ci.kill();
break;
}
}
} catch (final Throwable t) {
error(t);
}
}