Esempio n. 1
0
        public void Request(Avro.Specific.ICallbackRequestor requestor, string messageName, object[] args, object callback)
        {
            switch (messageName)
            {
            case "TransformName":
                requestor.Request <System.String>(messageName, args, callback);
                break;

            case "hello":
                requestor.Request <System.String>(messageName, args, callback);
                break;

            case "add":
                requestor.Request <System.Int32>(messageName, args, callback);
                break;

            case "divide":
                requestor.Request <System.Int32>(messageName, args, callback);
                break;

            case "heartbeat":
                requestor.Request <System.Object>(messageName, args, callback);
                break;
            }
            ;
        }
        public void Request(Avro.Specific.ICallbackRequestor requestor, string messageName, object[] args, object callback)
        {
            switch (messageName)
            {
            case "send":
                requestor.Request <System.String>(messageName, args, callback);
                break;

            case "fireandforget":
                requestor.Request <System.Object>(messageName, args, callback);
                break;
            }
            ;
        }
Esempio n. 3
0
        public void Request(Avro.Specific.ICallbackRequestor requestor, string messageName, object[] args, object callback)
        {
            switch (messageName)
            {
            case "echo":
                requestor.Request <org.apache.avro.test.AllTestRecord>(messageName, args, callback);
                break;

            case "echoParameters":
                requestor.Request <org.apache.avro.test.AllTestRecord>(messageName, args, callback);
                break;
            }
            ;
        }
Esempio n. 4
0
        public void Request(Avro.Specific.ICallbackRequestor requestor, string messageName, object[] args, object callback)
        {
            switch (messageName)
            {
            case "hello":
                requestor.Request <System.String>(messageName, args, callback);
                break;

            case "echo":
                requestor.Request <org.apache.avro.test.TestRecord>(messageName, args, callback);
                break;

            case "add":
                requestor.Request <System.Int32>(messageName, args, callback);
                break;

            case "echoBytes":
                requestor.Request <System.Byte[]>(messageName, args, callback);
                break;

            case "error":
                requestor.Request <System.Object>(messageName, args, callback);
                break;

            case "ack":
                requestor.Request <System.Object>(messageName, args, callback);
                break;
            }
            ;
        }