All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mdk_rtp.Functions Maven / Gradle / Ivy

There is a newer version: 2.0.37
Show newest version
/* Quark 1.0.452 run at 2016-11-11 16:09:46.008093 */
package mdk_rtp;

public class Functions {

    static datawire_mdk_md.Root root = new datawire_mdk_md.Root();


    /**
     * Create a JSONParser that can read all messages to/from the MCP.
     */
    public static mdk_protocol.JSONParser getRTPParser() {
        mdk_protocol.JSONParser parser = new mdk_protocol.JSONParser();
        (parser).register("open", quark.reflect.Class.get("mdk_protocol.Open"));
        (parser).register("mdk.protocol.Open", quark.reflect.Class.get("mdk_protocol.Open"));
        (parser).register("close", quark.reflect.Class.get("mdk_protocol.Close"));
        (parser).register("mdk.protocol.Close", quark.reflect.Class.get("mdk_protocol.Close"));
        (parser).register("discovery.protocol.Close", quark.reflect.Class.get("mdk_protocol.Close"));
        (parser).register("active", quark.reflect.Class.get("mdk_discovery.protocol.Active"));
        (parser).register("discovery.protocol.Expire", quark.reflect.Class.get("mdk_discovery.protocol.Expire"));
        (parser).register("expire", quark.reflect.Class.get("mdk_discovery.protocol.Expire"));
        (parser).register("discovery.protocol.Expire", quark.reflect.Class.get("mdk_discovery.protocol.Expire"));
        (parser).register("clear", quark.reflect.Class.get("mdk_discovery.protocol.Clear"));
        (parser).register("discovery.protocol.Clear", quark.reflect.Class.get("mdk_discovery.protocol.Clear"));
        (parser).register("log", quark.reflect.Class.get("mdk_tracing.protocol.LogEvent"));
        (parser).register("logack", quark.reflect.Class.get("mdk_tracing.protocol.LogAck"));
        (parser).register("mdk_tracing.protocol.LogAckEvent", quark.reflect.Class.get("mdk_tracing.protocol.LogAck"));
        (parser).register("subscribe", quark.reflect.Class.get("mdk_tracing.protocol.Subscribe"));
        (parser).register("interaction_event", quark.reflect.Class.get("mdk_metrics.InteractionEvent"));
        (parser).register("interaction_ack", quark.reflect.Class.get("mdk_metrics.InteractionAck"));
        return parser;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy