@SuppressWarnings("deprecation")
    private void processDirectoryRequest(OMMSolicitedItemEvent event)
    {
        System.out.println(_instanceName + " Received Directory request");

        OMMMsg msg = event.getMsg();
        Token token = event.getRequestToken();
        int msgType = msg.getMsgType();

        switch (msgType)
        {
            case OMMMsg.MsgType.REQUEST:
                makeRequest(msg, token);
                return;
            case OMMMsg.MsgType.STREAMING_REQ:
            case OMMMsg.MsgType.NONSTREAMING_REQ:
            case OMMMsg.MsgType.PRIORITY_REQ:
                System.out.println("Received deprecated message type of "
                        + OMMMsg.MsgType.toString(msg.getMsgType())
                        + ", not supported. ");
                return;
            case OMMMsg.MsgType.CLOSE_REQ:
                closeRequest(token);
                return;
            case OMMMsg.MsgType.GENERIC:
                System.out.println("Received generic message type, not supported. ");
                return;
            default:
                System.out.println("ERROR: Received unexpected message type. " + msgType);
                return;
        }
    }