Skip to content

Commit

Permalink
Document features missing from 0-9-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Emile Joubert committed Jun 9, 2011
1 parent 2f3c310 commit 5b11703
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ public interface IBasicProperties : IContentHeader
///<summary> creating application id </summary>
string AppId { get; set; }

///<summary> intra-cluster routing identifier </summary>
///<summary> intra-cluster routing identifier
/// (cluster id is deprecated in AMQP 0-9-1)
///</summary>
string ClusterId { get; set; }

///<summary> Clear the ContentType property. </summary>
Expand Down Expand Up @@ -143,7 +145,9 @@ public interface IBasicProperties : IContentHeader
///<summary> Clear the AppId property. </summary>
void ClearAppId();

///<summary> Clear the ClusterId property. </summary>
///<summary> Clear the ClusterId property.
/// (cluster id is deprecated in AMQP 0-9-1)
///</summary>
void ClearClusterId();

///<summary> Returns true iff the ContentType property is present. </summary>
Expand Down Expand Up @@ -185,7 +189,9 @@ public interface IBasicProperties : IContentHeader
///<summary> Returns true iff the AppId property is present. </summary>
bool IsAppIdPresent();

///<summary> Returns true iff the ClusterId property is present. </summary>
///<summary> Returns true iff the ClusterId property is present.
/// (cluster id is deprecated in AMQP 0-9-1)
///</summary>
bool IsClusterIdPresent();

///<summary>Convenience property; parses ReplyTo property
Expand Down
15 changes: 10 additions & 5 deletions projects/client/RabbitMQ.Client/src/client/api/IModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,15 @@ public interface IModel: IDisposable
IBasicProperties CreateBasicProperties();

///<summary>Construct a completely empty content header for
///use with the File content class.</summary>
///use with the File content class.
/// (unsupported in AMQP 0-9-1)</summary>
[AmqpContentHeaderFactory("file")]
[AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")]
IFileProperties CreateFileProperties();

///<summary>Construct a completely empty content header for
///use with the Stream content class.</summary>
///use with the Stream content class.
/// (unsupported in AMQP 0-9-1)</summary>
[AmqpContentHeaderFactory("stream")]
[AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")]
IStreamProperties CreateStreamProperties();
Expand Down Expand Up @@ -441,11 +443,12 @@ BasicGetResult BasicGet(string queue,
///transaction.</summary>
void TxRollback();

///<summary>(Spec method) Enable DTX mode for this session.</summary>
///<summary>(Spec method) Enable DTX mode for this session.
/// (unsupported in AMQP 0-9-1)</summary>
[AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")]
void DtxSelect();

///<summary>(Spec method)</summary>
///<summary>(Spec method, unsupported in AMQP 0-9-1)</summary>
[AmqpUnsupported("RabbitMQ.Client.Framing.v0_9_1")]
void DtxStart(string dtxIdentifier);

Expand Down Expand Up @@ -908,7 +911,9 @@ void _Private_ConnectionOpen(string virtualHost,
void HandleConnectionOpenOk([AmqpFieldMapping("RabbitMQ.Client.Framing.v0_9_1", "reserved1")]
string knownHosts);

///<summary>Handle an incoming Connection.Redirect.</summary>
///<summary>Handle an incoming Connection.Redirect.
/// (not available in AMQP 0-9-1)
///</summary>
[AmqpMethodDoNotImplement("RabbitMQ.Client.Framing.v0_9_1")]
void HandleConnectionRedirect(string host,
string knownHosts);
Expand Down

0 comments on commit 5b11703

Please sign in to comment.