class OspfInterfaceChannelHandler extends IdleStateAwareChannelHandler {

    @Override
    public void messageReceived(ChannelHandlerContext ctx, MessageEvent
            e) throws Exception {
        log.debug("OspfChannelHandler::messageReceived...!!!");
        Object message = e.getMessage();
        if (message instanceof List) {
            List<OspfMessage> ospfMessageList = (List<OspfMessage>) message;
            log.debug("OspfChannelHandler::List of IsisMessages Size {}", ospfMessageList.size());
            if (ospfMessageList != null) {
                for (OspfMessage ospfMessage : ospfMessageList) {
                    processOspfMessage(ospfMessage, ctx);
                }
            } else {
                log.debug("OspfChannelHandler::OspfMessages Null List...!!");
            }
        }
        if (message instanceof OspfMessage) {
            OspfMessage ospfMessage = (OspfMessage) message;
            log.debug("OspfChannelHandler::OspfMessages received...!!");
            processOspfMessage(ospfMessage, ctx);
        }
    }

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

}