public IServerChannelSink CreateSink(IChannelReceiver channel)
{
IServerChannelSink nextSink = null;
if (_next != null)
nextSink = _next.CreateSink(channel);
SdlChannelSink channelSink = new SdlChannelSink(channel, nextSink);
channelSink.RemoteApplicationMetadataEnabled = _bRemoteApplicationMetadataEnabled;
channelSink.MetadataEnabled = _bMetadataEnabled;
return channelSink;
}