public void processEvent(Event event)
    {
        if (event.getType() == Event.COMPLETION_EVENT)
        {
            System.out.println(_className + ": Receive a COMPLETION_EVENT, " + event.getHandle());
            return;
        }

        System.out.println(_className + ".processEvent: Received Login Response... ");

        if (event.getType() != Event.OMM_ITEM_EVENT)
        {
            System.out.println("ERROR: " + _className + " Received an unsupported Event type.");
            _mainApp.cleanup(-1);
            return;
        }

        OMMItemEvent ie = (OMMItemEvent)event;
        OMMMsg respMsg = ie.getMsg();
        if (respMsg.getMsgModelType() != RDMMsgTypes.LOGIN)
        {
            System.out.println("ERROR: " + _className + " Received a non-LOGIN model type.");
            _mainApp.cleanup(-1);
            return;
        }

        if (respMsg.isFinal())
        {
            System.out.println(_className + ": Login Response message is final.");
            PSGenericOMMParser.parse(respMsg);
            _mainApp.processLogin(false);
            return;
        }

        if ((respMsg.getMsgType() == OMMMsg.MsgType.STATUS_RESP) && (respMsg.has(OMMMsg.HAS_STATE))
                && (respMsg.getState().getStreamState() == OMMState.Stream.OPEN)
                && (respMsg.getState().getDataState() == OMMState.Data.OK))
        {
            System.out.println(_className + ": Received Login STATUS OK Response");
            GenericOMMParser.parse(respMsg);
            _mainApp.processLogin(true);
        }
        else
        {
            System.out.println(_className + ": Received Login Response - "
                    + OMMMsg.MsgType.toString(respMsg.getMsgType()));
            GenericOMMParser.parse(respMsg);
        }
    }