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