3 using System.Collections.Generic;
5 using System.ServiceModel.Channels;
6 using System.ServiceModel;
8 namespace System.ServiceModel.Dispatcher
10 internal class ReplyHandler : BaseRequestProcessorHandler
12 IDuplexChannel duplex;
14 public ReplyHandler (IChannel channel)
16 duplex = channel as IDuplexChannel;
19 protected override bool ProcessRequest (MessageProcessingContext mrc)
21 // if IsOneWay then no need to handle reply
22 if (mrc.Operation.IsOneWay)
26 mrc.Reply (duplex, true);