public TProtocolFactory GetOutputProtocolFactory() { return(new DelegateTProtocolFactory(trans => GetProtocolPair(TTransportPair.FromSingleTransport(trans)).OutputProtocol)); }
public TProtocolFactory GetInputProtocolFactory() { return(new DelegateTProtocolFactory(t => GetProtocolPair(TTransportPair.FromSingleTransport(t)).InputProtocol)); }