//Construction public TServerAsync(TProcessorAsync processor, TServerTransportAsync serverTransport) : this(processor, serverTransport, new TTransportFactoryAsync(), new TTransportFactoryAsync(), new TCompactProtocolAsync.Factory(), new TCompactProtocolAsync.Factory(), DefaultLogDelegate) { }
public TServerAsync(TProcessorAsync processor, TServerTransportAsync serverTransport, TTransportFactoryAsync transportFactory, TProtocolFactoryAsync protocolFactory) : this(processor, serverTransport, transportFactory, transportFactory, protocolFactory, protocolFactory, DefaultLogDelegate) { }
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; }