2 using System.Collections.Generic;
4 using System.ServiceModel.Channels;
5 using System.ServiceModel;
7 namespace System.ServiceModel.Dispatcher
9 internal class ReplyHandler : BaseRequestProcessorHandler
11 IDuplexChannel duplex;
13 public ReplyHandler (IChannel channel)
15 duplex = channel as IDuplexChannel;
18 protected override bool ProcessRequest (MessageProcessingContext mrc)
20 // if IsOneWay then no need to handle reply
21 if (mrc.ReplyMessage == null)
25 mrc.Reply (duplex, true);