/// <summary>
 /// Create a new pipeline with all attached channel handlers.
 /// </summary>
 IPipeline IPipelineFactory.CreatePipeline()
 {
     var pipeline = new Pipeline();
     pipeline.RegisterUpstreamHandler(new Decoder());
     pipeline.RegisterUpstreamHandler(_clientService);
     pipeline.RegisterDownstreamHandler(new Encoder());
     return pipeline;
 }
Exemple #2
0
 /// <summary>
 /// Create a new pipeline with all attached channel handlers.
 /// </summary>
 public IPipeline CreatePipeline()
 {
     var pipeline = new Pipeline();
     pipeline.RegisterDownstreamHandler(new Encoder());
     pipeline.RegisterUpstreamHandler(new Decoder());
     return pipeline;
 }