diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-11-24 22:54:58 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-11-24 22:54:58 -0800 |
commit | 85c813a005a2494bb71066215de8db1d7ab056d2 (patch) | |
tree | 0475c0c2b2cf5861a9c5bb2ccb89ad8e5d7bab9a /src/DotNetOpenAuth.Test/Mocks/CoordinatingChannel.cs | |
parent | 866385f5426835483eea4d701fe07388dff3f3c3 (diff) | |
download | DotNetOpenAuth-85c813a005a2494bb71066215de8db1d7ab056d2.zip DotNetOpenAuth-85c813a005a2494bb71066215de8db1d7ab056d2.tar.gz DotNetOpenAuth-85c813a005a2494bb71066215de8db1d7ab056d2.tar.bz2 |
A touch of refactoring and C# warning resolution.
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/CoordinatingChannel.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/Mocks/CoordinatingChannel.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/CoordinatingChannel.cs b/src/DotNetOpenAuth.Test/Mocks/CoordinatingChannel.cs index e10cda5..e96b813 100644 --- a/src/DotNetOpenAuth.Test/Mocks/CoordinatingChannel.cs +++ b/src/DotNetOpenAuth.Test/Mocks/CoordinatingChannel.cs @@ -16,7 +16,6 @@ namespace DotNetOpenAuth.Test.Mocks { private Channel wrappedChannel; private EventWaitHandle incomingMessageSignal = new AutoResetEvent(false); private IProtocolMessage incomingMessage; - private Response incomingRawResponse; private Action<IProtocolMessage> incomingMessageFilter; private Action<IProtocolMessage> outgoingMessageFilter; @@ -50,14 +49,14 @@ namespace DotNetOpenAuth.Test.Mocks { return response; } - protected override Response SendDirectMessageResponse(IProtocolMessage response) { + protected override UserAgentResponse SendDirectMessageResponse(IProtocolMessage response) { this.ProcessMessageFilter(response, true); this.RemoteChannel.incomingMessage = CloneSerializedParts(response, null); this.RemoteChannel.incomingMessageSignal.Set(); return null; } - protected override Response SendIndirectMessage(IDirectedProtocolMessage message) { + protected override UserAgentResponse SendIndirectMessage(IDirectedProtocolMessage message) { this.ProcessMessageFilter(message, true); // In this mock transport, direct and indirect messages are the same. return this.SendDirectMessageResponse(message); |