void processOMMMsg(OMMMsg msg)
    {
        switch (msg.getMsgType())
        {
            case OMMMsg.MsgType.REFRESH_RESP:
                if (msg.getDataType() == OMMTypes.MAP)
                {
                    processMap((OMMMap)msg.getPayload());
                }
                else
                {
                    System.out.println("Cannot process this message, payload has no data or incorrect data type");
                    GenericOMMParser.parse(msg);
                }
                if (msg.isSet(OMMMsg.Indication.REFRESH_COMPLETE))
                    System.out.println(_name + " contains "
                            + (_itemManager != null ? _itemManager.numberOfOpens() : 0) + " items");
                break;
            case OMMMsg.MsgType.UPDATE_RESP:
                if (msg.getDataType() == OMMTypes.MAP)
                {
                    processMap((OMMMap)msg.getPayload());
                }
                else
                {
                    System.out.println("Cannot process this message, payload has no data or incorrect data type");
                    GenericOMMParser.parse(msg);
                }
                break;
            case OMMMsg.MsgType.STATUS_RESP:
                GenericOMMParser.parse(msg);
                break;
            case OMMMsg.MsgType.GENERIC:
                System.out.println("Received generic message type, not supported. ");
                break;
            default:
                System.out.println("ERROR: Received unexpected message type. " + msg.getMsgType());
        }
    }