summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/Messaging/IDirectedProtocolMessage.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-02 06:34:19 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-02 06:34:19 -0700
commit938fa2719d3336d22326028bebd2adb74e0bee9d (patch)
tree456f1ca7cb3ce2de8a2413e1da7cdd7dcd832217 /src/DotNetOAuth/Messaging/IDirectedProtocolMessage.cs
parentcded2f8669b219fff104260eb681c67bf7ea1c10 (diff)
downloadDotNetOpenAuth-938fa2719d3336d22326028bebd2adb74e0bee9d.zip
DotNetOpenAuth-938fa2719d3336d22326028bebd2adb74e0bee9d.tar.gz
DotNetOpenAuth-938fa2719d3336d22326028bebd2adb74e0bee9d.tar.bz2
Lots of design work on the channel stack.
Diffstat (limited to 'src/DotNetOAuth/Messaging/IDirectedProtocolMessage.cs')
-rw-r--r--src/DotNetOAuth/Messaging/IDirectedProtocolMessage.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/DotNetOAuth/Messaging/IDirectedProtocolMessage.cs b/src/DotNetOAuth/Messaging/IDirectedProtocolMessage.cs
new file mode 100644
index 0000000..82ee08e
--- /dev/null
+++ b/src/DotNetOAuth/Messaging/IDirectedProtocolMessage.cs
@@ -0,0 +1,23 @@
+//-----------------------------------------------------------------------
+// <copyright file="IDirectedProtocolMessage.cs" company="Andrew Arnott">
+// Copyright (c) Andrew Arnott. All rights reserved.
+// </copyright>
+//-----------------------------------------------------------------------
+
+namespace DotNetOAuth.Messaging {
+ using System;
+
+ /// <summary>
+ /// Implemented by messages that have explicit recipients
+ /// (direct requests and all indirect messages).
+ /// </summary>
+ internal interface IDirectedProtocolMessage : IProtocolMessage {
+ /// <summary>
+ /// Gets or sets the URL of the intended receiver of this message.
+ /// </summary>
+ Uri Recipient {
+ get;
+ set;
+ }
+ }
+}