public void processEvent(Event event)
    {
        if (event.getType() != Event.OMM_ITEM_EVENT)
            System.out.println("Received unhandled event: " + event);

        OMMItemEvent ommItemEvent = (OMMItemEvent)event;
        Handle itemHandle = event.getHandle();
        String itemName = _handleMap.get(itemHandle);
        OMMMsg msg = ommItemEvent.getMsg();
        if (msg.getMsgType() == OMMMsg.MsgType.REFRESH_RESP)
        {
            if (msg.isSet(OMMMsg.Indication.REFRESH_COMPLETE))
            {
                System.out.println("Received refresh complete for: " + itemName);
            }
            else
            {
                System.out.println("Received refresh for: " + itemName);
            }
        }
        else if (msg.getMsgType() == OMMMsg.MsgType.UPDATE_RESP)
        {
            System.out.println("Received update for: " + itemName);
        }
        else if (msg.getMsgType() == OMMMsg.MsgType.GENERIC)
        {
            System.out.println("Received generic message type, not supported. ");
        }
        else if (msg.getMsgType() == OMMMsg.MsgType.STATUS_RESP)
        {
            System.out.println("Received status response for: " + itemName);
            GenericOMMParser.parse(msg);
        }
        else
        {
            System.out.println("ERROR: Received unexpected message type. " + msg.getMsgType());
        }

        if (msg.isFinal())
        {
            _nameMap.remove(itemName);
            _handleMap.remove(itemHandle);
        }
    }