THRIFT-4831 interface ITProtocolFactory should be class TProtocolFactory again
Client: netstd
Patch: Jens Geyer
This closes #1767
diff --git a/lib/netstd/Thrift/Server/TServer.cs b/lib/netstd/Thrift/Server/TServer.cs
index b351913..f40f2b7 100644
--- a/lib/netstd/Thrift/Server/TServer.cs
+++ b/lib/netstd/Thrift/Server/TServer.cs
@@ -29,10 +29,10 @@
public abstract class TServer
{
protected readonly ILogger Logger;
- protected ITProtocolFactory InputProtocolFactory;
+ protected TProtocolFactory InputProtocolFactory;
protected TTransportFactory InputTransportFactory;
protected ITProcessorFactory ProcessorFactory;
- protected ITProtocolFactory OutputProtocolFactory;
+ protected TProtocolFactory OutputProtocolFactory;
protected TTransportFactory OutputTransportFactory;
protected TServerEventHandler ServerEventHandler;
@@ -40,7 +40,7 @@
protected TServer(ITProcessorFactory processorFactory, TServerTransport serverTransport,
TTransportFactory inputTransportFactory, TTransportFactory outputTransportFactory,
- ITProtocolFactory inputProtocolFactory, ITProtocolFactory outputProtocolFactory,
+ TProtocolFactory inputProtocolFactory, TProtocolFactory outputProtocolFactory,
ILogger logger = null)
{
ProcessorFactory = processorFactory ?? throw new ArgumentNullException(nameof(processorFactory));