Esempio n. 1
0
        public override void OnTransactionStart(RpcServerContext context)
        {
            //if (context.ContextUri) {
            RpcConnection        conn = null;
            RpcClientTransaction tx   = conn.CreateTransaction(context.Request);

            tx.SendRequest(
                delegate() {
                context.Return(tx.Response);
            },
                -1

                );
            //}
        }
Esempio n. 2
0
 public RpcClientContext(RpcClientTransaction trans)
 {
     _trans = trans;
 }