diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-29 23:16:41 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-10-02 07:33:55 -0700 |
commit | 5cbd5d7edb994f874b265ed2e7c43f0bcd27b6ac (patch) | |
tree | a7b11de02bc213b279906aaa4aafc7d15ff09bac /src/DotNetOAuth.Test/Mocks/TestChannel.cs | |
parent | 55c86fc27084af191bbb80fb91da34c24b945c3e (diff) | |
download | DotNetOpenAuth-5cbd5d7edb994f874b265ed2e7c43f0bcd27b6ac.zip DotNetOpenAuth-5cbd5d7edb994f874b265ed2e7c43f0bcd27b6ac.tar.gz DotNetOpenAuth-5cbd5d7edb994f874b265ed2e7c43f0bcd27b6ac.tar.bz2 |
Removed the queue/dequeue methodology of queued responses. Now the methods that generate them return them.
Besides simplifying the API somewhat, this change allows for Consumer, ServiceProvider and Channel classes to be entirely threadsafe and reusable.
Diffstat (limited to 'src/DotNetOAuth.Test/Mocks/TestChannel.cs')
-rw-r--r-- | src/DotNetOAuth.Test/Mocks/TestChannel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/TestChannel.cs b/src/DotNetOAuth.Test/Mocks/TestChannel.cs index b69b756..1f75e3f 100644 --- a/src/DotNetOAuth.Test/Mocks/TestChannel.cs +++ b/src/DotNetOAuth.Test/Mocks/TestChannel.cs @@ -28,7 +28,7 @@ namespace DotNetOAuth.Test.Mocks { throw new NotImplementedException("ReadFromResponse");
}
- protected override void SendDirectMessageResponse(IProtocolMessage response) {
+ protected override Response SendDirectMessageResponse(IProtocolMessage response) {
throw new NotImplementedException("SendDirectMessageResponse");
}
}
|