예제 #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;
 }
예제 #2
0
 static RpcManager()
 {
     Logger     = new Logger("RPC");
     Serializer = new Serializer();
     Trigger    = new RpcTrigger(Logger, Serializer);
 }