Exemplo n.º 1
0
 /// <summary>
 /// Constructs a RPC request
 /// </summary>
 /// <param name="event">Event</param>
 /// <param name="handler">Handler for request</param>
 /// <param name="trigger">Trigger for request</param>
 /// <param name="serializer">Serializer for request</param>
 public RpcRequest(string @event, IRpcHandler handler, IRpcTrigger trigger, IRpcSerializer serializer)
 {
     this.message.Event = @event;
     this.handler       = handler;
     this.trigger       = trigger;
     this.serializer    = serializer;
 }
Exemplo n.º 2
0
 public RpcRequest(string @event, IRpcHandler handler, IRpcTrigger trigger, IRpcSerializer serializer) : base(@event, handler, trigger, serializer)
 {
 }