예제 #1
0
 public TServerAsync(TProcessorAsync processor,
           TServerTransportAsync serverTransport,
           TTransportFactoryAsync transportFactory)
     : this(processor,
      serverTransport,
      transportFactory,
      transportFactory,
      new TCompactProtocolAsync.Factory(),
      new TCompactProtocolAsync.Factory(),
      DefaultLogDelegate)
 {
 }
예제 #2
0
 public TServerAsync(TProcessorAsync processor,
           TServerTransportAsync serverTransport,
           TTransportFactoryAsync transportFactory,
           TProtocolFactoryAsync protocolFactory)
     : this(processor,
      serverTransport,
      transportFactory,
      transportFactory,
      protocolFactory,
      protocolFactory,
        DefaultLogDelegate)
 {
 }
예제 #3
0
 public TServerAsync(TProcessorFactoryAsync processorFactory,
           TServerTransportAsync serverTransport,
           TTransportFactoryAsync inputTransportFactory,
           TTransportFactoryAsync outputTransportFactory,
           TProtocolFactoryAsync inputProtocolFactory,
           TProtocolFactoryAsync outputProtocolFactory,
           LogDelegate logDelegate)
 {
     this.processorFactory = processorFactory;
     this.serverTransport = serverTransport;
     this.inputTransportFactory = inputTransportFactory;
     this.outputTransportFactory = outputTransportFactory;
     this.inputProtocolFactory = inputProtocolFactory;
     this.outputProtocolFactory = outputProtocolFactory;
     this.logDelegate = (logDelegate != null) ? logDelegate : DefaultLogDelegate;
 }