コード例 #1
0
 public TProtocolFactory GetOutputProtocolFactory()
 {
     return(new DelegateTProtocolFactory(trans =>
                                         GetProtocolPair(TTransportPair.FromSingleTransport(trans)).OutputProtocol));
 }
コード例 #2
0
 public TProtocolFactory GetInputProtocolFactory()
 {
     return(new DelegateTProtocolFactory(t =>
                                         GetProtocolPair(TTransportPair.FromSingleTransport(t)).InputProtocol));
 }