Files
mono/mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ReplyHandler.cs
T
Atsushi Eno b430f47799 svn:eol-style native.
svn path=/trunk/mcs/; revision=135653
2009-06-08 09:21:35 +00:00

28 lines
539 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel.Channels;
using System.ServiceModel;
namespace System.ServiceModel.Dispatcher
{
internal class ReplyHandler : BaseRequestProcessorHandler
{
IDuplexChannel duplex;
public ReplyHandler (IChannel channel)
{
duplex = channel as IDuplexChannel;
}
protected override bool ProcessRequest (MessageProcessingContext mrc)
{
if (duplex != null)
mrc.Reply (duplex, true);
else
mrc.Reply (true);
return false;
}
}
}