class OspfInterfaceChannelHandler extends IdleStateAwareChannelHandler {

    @Override
    public void channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent evt) {
        log.debug("OspfChannelHandler::channelDisconnected...!!!");

        for (Integer interfaceIndex : ospfInterfaceMap.keySet()) {
            OspfInterface anInterface = ospfInterfaceMap.get(interfaceIndex);
            if (anInterface != null) {
                anInterface.interfaceDown();
                anInterface.stopDelayedAckTimer();
            }
        }

        if (controller != null) {
            controller.connectPeer();
        }
    }

    public  OspfInterfaceChannelHandler(Controller controller, List<OspfProcess> processes);

}