Ejemplo n.º 1
0
        public RpcDuplexServer(RpcServerChannel channel)
        {
            channel.ConnectionCreated  += new Action <RpcConnection>(ConnectionCreated);
            channel.TransactionCreated += new Action <RpcServerTransaction>(TransactionCreated);
            _channel = channel;

            _dispatcher = new RpcServiceDispather("duplex");
        }
Ejemplo n.º 2
0
 public RpcTcpServerTransaction(RpcServerChannel channel, RpcConnection conn, RpcTcpSocketConnection socket, RpcRequest request, int sequence)
     : base(channel, conn, request)
 {
     _sock    = socket;
     Sequence = sequence;
 }
Ejemplo n.º 3
0
 public RpcServerTransaction(RpcServerChannel channel, RpcConnection conn, RpcRequest request)
 {
     _connection = conn;
     _channel    = channel;
     _request    = request;
 }