Exemplo n.º 1
0
 public Rpc(string @event, Logger logger, ServerHandler handler, RpcTrigger trigger, Serializer serializer)
 {
     this.@event     = @event;
     this.logger     = logger;
     this.handler    = handler;
     this.trigger    = trigger;
     this.serializer = serializer;
 }
Exemplo n.º 2
0
 public static void Configure(EventHandlerDictionary events)
 {
     handler = new ServerHandler(events);
 }