e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
22 lines
876 B
C#
22 lines
876 B
C#
//------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------
|
|
|
|
namespace System.ServiceModel.Channels
|
|
{
|
|
sealed class MsmqInputChannel
|
|
: MsmqInputChannelBase
|
|
{
|
|
public MsmqInputChannel(MsmqInputChannelListener listener)
|
|
: base(listener, new MsmqInputMessagePool((listener.ReceiveParameters as MsmqTransportReceiveParameters).MaxPoolSize))
|
|
{ }
|
|
|
|
protected override Message DecodeMsmqMessage(MsmqInputMessage msmqMessage, MsmqMessageProperty messageProperty)
|
|
{
|
|
MsmqInputChannelListener listener = this.Manager as MsmqInputChannelListener;
|
|
return MsmqDecodeHelper.DecodeTransportDatagram(listener, this.MsmqReceiveHelper, msmqMessage, messageProperty);
|
|
}
|
|
}
|
|
}
|
|
|