qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject svn commit: r1042462 [12/12] - in /qpid/site/docs/books/0.8: ./ AMQP-Messaging-Broker-CPP-Book/ AMQP-Messaging-Broker-CPP-Book/html/ AMQP-Messaging-Broker-CPP-Book/html/images/ AMQP-Messaging-Broker-CPP-Book/html/images/jmx_console/ AMQP-Messaging-Brok...
Date Sun, 05 Dec 2010 21:59:26 GMT
Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch04s05.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch04s05.html?rev=1042462&view=auto
==============================================================================
--- qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch04s05.html (added)
+++ qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch04s05.html Sun Dec  5 21:59:22 2010
@@ -0,0 +1,43 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>4.5. Transactions</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Programming in Apache Qpid"><link rel="up" href="ch04.html" title="Chapter 4. Using the Qpid WCF client"><link rel="prev" href="ch04s04.html" title="4.4. Security"><link rel="next" href="ch05.html" title="Chapter 5. The .NET Binding for the C++ Messaging Client"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">4.5. Transactions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s04.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Using the Qpid WCF client</th><td width="20%" align="right"> <a accesskey="n" href="ch05.html">Next</a></td></tr></table><hr></div><div class="s
 ection" title="4.5. Transactions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3086171"></a>4.5. Transactions</h2></div></div></div><p>The WCF channel provides a transaction resource manager
+      module and a recovery module that together provide distributed
+      transaction support with one-phase optimization.  Some
+      configuration is required on Windows machines to enable
+      transaction support (see your installation notes or top level
+      ReadMe.txt file for instructions).  Once properly configured,
+      the Qpid WCF channel acts as any other System.Transactions aware
+      resource, capable of participating in explicit or implicit
+      transactions.</p><p>Server code:</p><pre class="programlisting">
+[OperationBehavior(TransactionScopeRequired = true,
+                   TransactionAutoComplete = true)]
+
+public void SayHello(string greeting)
+{
+  // increment ExactlyOnceReceived counter on DB
+
+  // Success: transaction auto completes:
+}
+</pre><p>Because this operation involves two transaction resources, the
+      database and the AMQP message broker, this operates as a full two
+      phase commit transaction managed by the Distributed Transaction
+      Coordinator service.  If the transaction proceeds without error,
+      both ExactlyOnceReceived is incremented in the database and the AMQP
+      message is consumed from the broker.  Otherwise, ExactlyOnceReceived is
+      unchanged and AMQP message is returned to its queue on the broker.</p><p>For the client code a few changes are made to the non-transacted
+      example.  For "exactly once" semantics, we set the AMQP "Durable"
+      message property and enclose the transacted activities in a
+      TransactionScope:</p><pre class="programlisting">
+AmqpProperties myDefaults = new AmqpProperties();
+myDefaults.Durable = true;
+amqpBinding.DefaultMessageProperties = myDefaults;
+ChannelFactory&lt;IHelloService&gt; channelFactory =
+new ChannelFactory&lt;IHelloService&gt;(amqpBinding, clientEndpoint);
+IHelloService clientProxy = channelFactory.CreateChannel();
+
+using (TransactionScope ts = new TransactionScope())
+{
+   AmqpProperties amqpProperties = new AmqpProperties();
+   clientProxy.SayHello("Greetings from WCF client");
+   // increment ExactlyOnceSent counter on DB
+   ts.Complete();
+}
+</pre></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch04s04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">4.4. Security </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 5. The .NET Binding for the C++ Messaging Client</td></tr></table></div></body></html>

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05.html?rev=1042462&view=auto
==============================================================================
--- qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05.html (added)
+++ qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05.html Sun Dec  5 21:59:22 2010
@@ -0,0 +1,45 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 5. The .NET Binding for the C++ Messaging Client</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Programming in Apache Qpid"><link rel="up" href="index.html" title="Programming in Apache Qpid"><link rel="prev" href="ch04s05.html" title="4.5. Transactions"><link rel="next" href="ch05s02.html" title="5.2. .NET Binding for the C++ Messaging Client Examples"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 5. The .NET Binding for the C++ Messaging Client</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s05.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch05s02.html">Next</a>
 </td></tr></table><hr></div><div class="chapter" title="Chapter 5. The .NET Binding for the C++ Messaging Client"><div class="titlepage"><div><div><h2 class="title"><a name="id3086234"></a>Chapter 5. The .NET Binding for the C++ Messaging Client</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch05.html#id3086261">5.1. .NET Binding for the C++ Messaging Client Component Architecture</a></span></dt><dt><span class="section"><a href="ch05s02.html">5.2. .NET Binding for the C++ Messaging Client Examples</a></span></dt><dt><span class="section"><a href="ch05s03.html">5.3. .NET Binding Class Mapping to Underlying C++ Messaging API</a></span></dt><dd><dl><dt><span class="section"><a href="ch05s03.html#id3086842">5.3.1. .NET Binding for the C++ Messaging API Class: Address</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3087449">5.3.2. .NET Binding for the C++ Messaging API Class: Connection</a></span>
 </dt><dt><span class="section"><a href="ch05s03.html#id3088095">5.3.3. .NET Binding for the C++ Messaging API Class: Duration</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3088519">5.3.4. .NET Binding for the C++ Messaging API Class: FailoverUpdates</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3088698">5.3.5. .NET Binding for the C++ Messaging API Class: Message</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3089897">5.3.6. .NET Binding for the C++ Messaging API Class: Receiver</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3090543">5.3.7. .NET Binding for the C++ Messaging API Class: Sender</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3091022">5.3.8. .NET Binding for the C++ Messaging API Class: Session</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3091987">5.3.9. .NET Binding for the C++ Messaging API Class: SessionReceiver</a></span></dt></dl></dd></dl></div><
 p>
+      The .NET Binding for the C++ Qpid Messaging Client is an intermediary program designed
+      to make access to C++ Qpid Messaging methods simple and in a way familiar to the programmer.
+      The .NET Binding creates and manipulates actual C++ Qpid Messaging API objects so that a .NET
+      program will operate the same as if the program were written in native C++.
+    </p><div class="section" title="5.1. .NET Binding for the C++ Messaging Client Component Architecture"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3086261"></a>5.1. .NET Binding for the C++ Messaging Client Component Architecture</h2></div></div></div><pre class="programlisting">
+                      +----------------------------+
+                      | Dotnet examples           |
+                      | Managed C#                 |
+                      +------+---------------+-----+
+                             |               |
+                             V               |
+        +---------------------------+        |
+        | Managed Callback          |        |
+        | org.apache.qpid.messaging.|        |
+        | sessionreceiver.dll       |        |
+        +----------------------+----+        |
+                               |             |
+managed                        V             V
+(.NET)                 +--------------------------------+
+:::::::::::::::::::::::| .NET Binding Library           |::::::::::::
+unmanaged              | org.apache.qpid.messaging.dll  |
+(Native Win32/64)      +---------------+----------------+
+                                       |
+                                       |
+      +----------------+               |
+      | Native examples|               |
+      | Unmanaged C++  |               |
+      +--------+-------+               |
+               |                       |
+               V                       V
+          +----------------------------------+
+          | QPID Messaging C++ Libraries     |
+          | qpid*.dll qmf*.dll               |
+          +--------+--------------+----------+
+</pre>
+This diagram illustrates the code and library components of the binding
+and the hierarchical relationships between them.  
+
+	<div class="table"><a name="table-Dotnet-Binding-Component-Architecture"></a><p class="title"><b>Table 5.1. .NET Binding for the C++ Messaging Client Component Architecture</b></p><div class="table-contents"><table summary=".NET Binding for the C++ Messaging Client Component Architecture" border="1"><colgroup><col><col></colgroup><thead><tr><th>Component Name</th><th>Component Function</th></tr></thead><tbody><tr><td>QPID Messaging C++ Libraries</td><td>The QPID Messaging C++ core run time system</td></tr><tr><td>Unmanaged C++ Example Source Programs</td><td>Ordinary C++ programs that illustrate using qpid/cpp Messaging directly
+		in a native Windows environment.</td></tr><tr><td>.NET Messaging Binding Library</td><td>The .NET Messaging library provides interoprability between managed .NET
+		programs and the unmanaged, native Messaging C++ run time system. .NET programs
+		create a Reference to this library thereby exposing all of the native C++
+		Messaging functionality to programs written in any .NET language.</td></tr><tr><td>.NET Messaging Managed Callback Library</td><td>An extension of the .NET Messaging Binding Library that provides message
+		callbacks in a managed .NET environment. This component is written purely in C#.</td></tr><tr><td>Managed C# .NET Example Source Programs</td><td>Various C# example programs that illustrate using .NET Messaging Binding in the .NET environment.</td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch04s05.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch05s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">4.5. Transactions </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 5.2. .NET Binding for the C++ Messaging Client Examples</td></tr></table></div></body></html>

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05s02.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05s02.html?rev=1042462&view=auto
==============================================================================
--- qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05s02.html (added)
+++ qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05s02.html Sun Dec  5 21:59:22 2010
@@ -0,0 +1,22 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>5.2. .NET Binding for the C++ Messaging Client Examples</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Programming in Apache Qpid"><link rel="up" href="ch05.html" title="Chapter 5. The .NET Binding for the C++ Messaging Client"><link rel="prev" href="ch05.html" title="Chapter 5. The .NET Binding for the C++ Messaging Client"><link rel="next" href="ch05s03.html" title="5.3. .NET Binding Class Mapping to Underlying C++ Messaging API"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">5.2. .NET Binding for the C++ Messaging Client Examples</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05.html">Prev</a> </td><th width="60%" align="center">Chapter 5. Th
 e .NET Binding for the C++ Messaging Client</th><td width="20%" align="right"> <a accesskey="n" href="ch05s03.html">Next</a></td></tr></table><hr></div><div class="section" title="5.2. .NET Binding for the C++ Messaging Client Examples"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3086394"></a>5.2. .NET Binding for the C++ Messaging Client Examples</h2></div></div></div>
+
+      This chapter describes the various sample programs that are available to 
+      illustrate common Qpid Messaging usage.
+
+      <div class="table"><a name="table-Dotnet-Binding-Example-Client-Server"></a><p class="title"><b>Table 5.2. Example : Client - Server</b></p><div class="table-contents"><table summary="Example : Client - Server" border="1"><colgroup><col><col></colgroup><thead><tr><th>Example</th><th>Client - Server</th></tr></thead><tbody><tr><td>csharp.example.server</td><td>Creates a Receiver and listens for messages.
+		Upon message reception the message content is converted to upper case
+		and forwarded to the received message's ReplyTo address.</td></tr><tr><td>csharp.example.client</td><td>Sends a series of messages to the Server and prints the original message
+		content and the received message content.</td></tr></tbody></table></div></div><br class="table-break"><div class="table"><a name="table-Dotnet-Binding-Example-MapSender-MapReceiver"></a><p class="title"><b>Table 5.3. Example : Map Sender &#8211; Map Receiver</b></p><div class="table-contents"><table summary="Example : Map Sender &#8211; Map Receiver" border="1"><colgroup><col><col></colgroup><thead><tr><th>Example</th><th>Map Sender - Map Receiver</th></tr></thead><tbody><tr><td>csharp.map.receiver</td><td>Creates a Receiver and listens for a map message.
+		Upon message reception the message is decoded and displayed on the console.</td></tr><tr><td>csharp.map.sender</td><td>Creates a map message and sends it to map.receiver.
+		The map message contains values for every supported .NET Messaging
+		Binding data type.</td></tr></tbody></table></div></div><br class="table-break"><div class="table"><a name="table-Dotnet-Binding-Example-Spout-Drain"></a><p class="title"><b>Table 5.4. Example : Spout - Drain</b></p><div class="table-contents"><table summary="Example : Spout - Drain" border="1"><colgroup><col><col></colgroup><thead><tr><th>Example</th><th>Spout - Drain</th></tr></thead><tbody><tr><td>csharp.example.spout</td><td>Spout is a more complex example of code that generates a series of messages
+		and sends them to peer program Drain. Flexible command line arguments allow
+		the user to specify a variety of message and program options.</td></tr><tr><td>csharp.example.drain</td><td>Drain is a more complex example of code that receives a series of messages
+		and displays their contents on the console.</td></tr></tbody></table></div></div><br class="table-break"><div class="table"><a name="table-Dotnet-Binding-Example-CallbackSender-CallbackReceiver"></a><p class="title"><b>Table 5.5. Example : Map Callback Sender &#8211; Map Callback Receiver</b></p><div class="table-contents"><table summary="Example : Map Callback Sender &#8211; Map Callback Receiver" border="1"><colgroup><col><col></colgroup><thead><tr><th>Example</th><th>Map Callback Sender - Map Callback Receiver</th></tr></thead><tbody><tr><td>csharp.map.callback.receiver</td><td>Creates a Receiver and listens for a map message.
+		Upon message reception the message is decoded and displayed on the console.
+		This example illustrates the use of the C# managed code callback mechanism
+		provided by .NET Messaging Binding Managed Callback Library.</td></tr><tr><td>csharp.map.callback.sender</td><td>Creates a map message and sends it to map_receiver.
+		The map message contains values for every supported .NET Messaging
+		Binding data type.</td></tr></tbody></table></div></div><br class="table-break"><div class="table"><a name="table-Dotnet-Binding-Example-DeclareQueues"></a><p class="title"><b>Table 5.6. Example - Declare Queues</b></p><div class="table-contents"><table summary="Example - Declare Queues" border="1"><colgroup><col><col></colgroup><thead><tr><th>Example</th><th>Declare Queues</th></tr></thead><tbody><tr><td>csharp.example.declare_queues</td><td>A program to illustrate creating objects on a broker.
+		This program creates a queue used by spout and drain.</td></tr></tbody></table></div></div><br class="table-break"><div class="table"><a name="table-Dotnet-Binding-Example-DirectSender-DirectReceiver"></a><p class="title"><b>Table 5.7. Example: Direct Sender - Direct Receiver</b></p><div class="table-contents"><table summary="Example: Direct Sender - Direct Receiver" border="1"><colgroup><col><col></colgroup><thead><tr><th>Example</th><th>Direct Sender - Direct Receiver</th></tr></thead><tbody><tr><td>csharp.direct.receiver</td><td>Creates a Receiver and listens for a messages.
+		Upon message reception the message is decoded and displayed on the console.</td></tr><tr><td>csharp.direct.sender</td><td> Creates a series of messages and sends them to csharp.direct.receiver.</td></tr></tbody></table></div></div><br class="table-break"><div class="table"><a name="table-Dotnet-Binding-Example-Helloworld"></a><p class="title"><b>Table 5.8. Example: Hello World</b></p><div class="table-contents"><table summary="Example: Hello World" border="1"><colgroup><col><col></colgroup><thead><tr><th>Example</th><th>Hello World</th></tr></thead><tbody><tr><td>csharp.example.helloworld</td><td>A program to send a message and to receive the same message.</td></tr></tbody></table></div></div><br class="table-break"></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" alig
 n="right"> <a accesskey="n" href="ch05s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 5. The .NET Binding for the C++ Messaging Client </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 5.3. .NET Binding Class Mapping to Underlying C++ Messaging API</td></tr></table></div></body></html>

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05s03.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05s03.html?rev=1042462&view=auto
==============================================================================
--- qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05s03.html (added)
+++ qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/ch05s03.html Sun Dec  5 21:59:22 2010
@@ -0,0 +1,40 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>5.3. .NET Binding Class Mapping to Underlying C++ Messaging API</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Programming in Apache Qpid"><link rel="up" href="ch05.html" title="Chapter 5. The .NET Binding for the C++ Messaging Client"><link rel="prev" href="ch05s02.html" title="5.2. .NET Binding for the C++ Messaging Client Examples"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">5.3. .NET Binding Class Mapping to Underlying C++ Messaging API</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s02.html">Prev</a> </td><th width="60%" align="center">Chapter 5. The .NET Binding for the C++ Messaging Client</th><td width="20%" align="right"> </td></tr>
 </table><hr></div><div class="section" title="5.3. .NET Binding Class Mapping to Underlying C++ Messaging API"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3086834"></a>5.3. .NET Binding Class Mapping to Underlying C++ Messaging API</h2></div></div></div>
+      This chapter describes the specific mappings between classes in the .NET
+      Binding and the underlying C++ Messaging API.
+    <div class="section" title="5.3.1. .NET Binding for the C++ Messaging API Class: Address"><div class="titlepage"><div><div><h3 class="title"><a name="id3086842"></a>5.3.1. .NET Binding for the C++ Messaging API Class: Address</h3></div></div></div><div class="table"><a name="table-Dotnet-Binding-Address"></a><p class="title"><b>Table 5.9. .NET Binding for the C++ Messaging API Class: Address</b></p><div class="table-contents"><table summary=".NET Binding for the C++ Messaging API Class: Address" border="1"><colgroup><col><col></colgroup><thead><tr><th colspan="2" align="center">.NET Binding Class: Address</th></tr><tr><th>Language</th><th>Syntax</th></tr></thead><tbody><tr><td>C++</td><td>class Address</td></tr><tr><td>.NET</td><td>public ref class Address</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>Address();</td></tr><tr><td>.NET</td><td>public Address();</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><
 td>C++</td><td>Address(const std::string&amp; address);</td></tr><tr><td>.NET</td><td>public Address(string address);</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>Address(const std::string&amp; name, const std::string&amp; subject, const qpid::types::Variant::Map&amp; options, const std::string&amp; type = "");</td></tr><tr><td>.NET</td><td>public Address(string name, string subject, Dictionary&lt;string, object&gt; options);</td></tr><tr><td>.NET</td><td>public Address(string name, string subject, Dictionary&lt;string, object&gt; options, string type);</td></tr><tr><td colspan="2" align="center">Copy constructor</td></tr><tr><td>C++</td><td>Address(const Address&amp; address);</td></tr><tr><td>.NET</td><td>public Address(Address address);</td></tr><tr><td colspan="2" align="center">Destructor</td></tr><tr><td>C++</td><td>~Address();</td></tr><tr><td>.NET</td><td>~Address();</td></tr><tr><td colspan="2" align="center">Finalizer</td></t
 r><tr><td>C++</td><td>n/a</td></tr><tr><td>.NET</td><td>!Address();</td></tr><tr><td colspan="2" align="center">Copy assignment operator</td></tr><tr><td>C++</td><td>Address&amp; operator=(const Address&amp;);</td></tr><tr><td>.NET</td><td>public Address op_Assign(Address rhs);</td></tr><tr><td colspan="2" align="center">Property: Name</td></tr><tr><td>C++</td><td>const std::string&amp; getName() const;</td></tr><tr><td>C++</td><td>void setName(const std::string&amp;);</td></tr><tr><td>.NET</td><td>public string Name { get; set; }</td></tr><tr><td colspan="2" align="center">Property: Subject</td></tr><tr><td>C++</td><td>const std::string&amp; getSubject() const;</td></tr><tr><td>C++</td><td>void setSubject(const std::string&amp;);</td></tr><tr><td>.NET</td><td>public string Subject { get; set; }</td></tr><tr><td colspan="2" align="center">Property: Options</td></tr><tr><td>C++</td><td>const qpid::types::Variant::Map&amp; getOptions() const;</td></tr><tr><td>C++</td><td>qpid:
 :types::Variant::Map&amp; getOptions();</td></tr><tr><td>C++</td><td>void setOptions(const qpid::types::Variant::Map&amp;);</td></tr><tr><td>.NET</td><td>public Dictionary&lt;string, object&gt; Options { get; set; }</td></tr><tr><td colspan="2" align="center">Property: Type</td></tr><tr><td>C++</td><td>std::string getType() const;</td></tr><tr><td>C++</td><td>void setType(const std::string&amp;);</td></tr><tr><td>.NET</td><td>public string Type { get; set; }</td></tr><tr><td colspan="2" align="center">Miscellaneous</td></tr><tr><td>C++</td><td>std::string str() const;</td></tr><tr><td>.NET</td><td>public string ToStr();</td></tr><tr><td colspan="2" align="center">Miscellaneous</td></tr><tr><td>C++</td><td>operator bool() const;</td></tr><tr><td>.NET</td><td>n/a</td></tr><tr><td colspan="2" align="center">Miscellaneous</td></tr><tr><td>C++</td><td>bool operator !() const;</td></tr><tr><td>.NET</td><td>n/a</td></tr></tbody></table></div></div><br class="table-break"></div><div
  class="section" title="5.3.2. .NET Binding for the C++ Messaging API Class: Connection"><div class="titlepage"><div><div><h3 class="title"><a name="id3087449"></a>5.3.2. .NET Binding for the C++ Messaging API Class: Connection</h3></div></div></div><div class="table"><a name="table-Dotnet-Binding-Connection"></a><p class="title"><b>Table 5.10. .NET Binding for the C++ Messaging API Class: Connection</b></p><div class="table-contents"><table summary=".NET Binding for the C++ Messaging API Class: Connection" border="1"><colgroup><col><col></colgroup><thead><tr><th colspan="2" align="center">.NET Binding Class: Connection</th></tr><tr><th>Language</th><th>Syntax</th></tr></thead><tbody><tr><td>C++</td><td>class Connection : public qpid::messaging::Handle&lt;ConnectionImpl&gt;</td></tr><tr><td>.NET</td><td>public ref class Connection</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>Connection(ConnectionImpl* impl);</td></tr><tr><td>.NET</
 td><td>n/a</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>Connection();</td></tr><tr><td>.NET</td><td>TODO:</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>Connection(const std::string&amp; url, const qpid::types::Variant::Map&amp; options = qpid::types::Variant::Map());</td></tr><tr><td>.NET</td><td>public Connection(string url);</td></tr><tr><td>.NET</td><td>public Connection(string url, Dictionary&lt;string, object&gt; options);</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>Connection(const std::string&amp; url, const std::string&amp; options);</td></tr><tr><td>.NET</td><td>public Connection(string url, string options);  </td></tr><tr><td colspan="2" align="center">Copy Constructor</td></tr><tr><td>C++</td><td>Connection(const Connection&amp;);</td></tr><tr><td>.NET</td><td>public Connection(Connection connection);</td></tr><tr><td colspan="2" align="center">D
 estructor</td></tr><tr><td>C++</td><td>~Connection();</td></tr><tr><td>.NET</td><td>~Connection();</td></tr><tr><td colspan="2" align="center">Finalizer</td></tr><tr><td>C++</td><td>n/a</td></tr><tr><td>.NET</td><td>!Connection();</td></tr><tr><td colspan="2" align="center">Copy assignment operator</td></tr><tr><td>C++</td><td>Connection&amp; operator=(const Connection&amp;);</td></tr><tr><td>.NET</td><td>public Connection op_Assign(Connection rhs);</td></tr><tr><td colspan="2" align="center">Method: SetOption</td></tr><tr><td>C++</td><td>void setOption(const std::string&amp; name, const qpid::types::Variant&amp; value);</td></tr><tr><td>.NET</td><td>public void SetOption(string name, object value);</td></tr><tr><td colspan="2" align="center">Method: open</td></tr><tr><td>C++</td><td>void open();</td></tr><tr><td>.NET</td><td>public void Open();</td></tr><tr><td colspan="2" align="center">Property: isOpen</td></tr><tr><td>C++</td><td>bool isOpen();</td></tr><tr><td>.NET</td>
 <td>public bool IsOpen { get; }</td></tr><tr><td colspan="2" align="center">Method: close</td></tr><tr><td>C++</td><td>void close();</td></tr><tr><td>.NET</td><td>public void Close();</td></tr><tr><td colspan="2" align="center">Method: createTransactionalSession</td></tr><tr><td>C++</td><td>Session createTransactionalSession(const std::string&amp; name = std::string());</td></tr><tr><td>.NET</td><td>public Session CreateTransactionalSession();</td></tr><tr><td>.NET</td><td>public Session CreateTransactionalSession(string name);</td></tr><tr><td colspan="2" align="center">Method: createSession</td></tr><tr><td>C++</td><td>Session createSession(const std::string&amp; name = std::string());</td></tr><tr><td>.NET</td><td>public Session CreateSession();</td></tr><tr><td>.NET</td><td>public Session CreateSession(string name);</td></tr><tr><td colspan="2" align="center">Method: getSession</td></tr><tr><td>C++</td><td>Session getSession(const std::string&amp; name) const;</td></tr><
 tr><td>.NET</td><td>public Session GetSession(string name);</td></tr><tr><td colspan="2" align="center">Property: AuthenticatedUsername</td></tr><tr><td>C++</td><td>std::string getAuthenticatedUsername();</td></tr><tr><td>.NET</td><td>public string GetAuthenticatedUsername();</td></tr></tbody></table></div></div><br class="table-break"></div><div class="section" title="5.3.3. .NET Binding for the C++ Messaging API Class: Duration"><div class="titlepage"><div><div><h3 class="title"><a name="id3088095"></a>5.3.3. .NET Binding for the C++ Messaging API Class: Duration</h3></div></div></div><div class="table"><a name="table-Dotnet-Binding-Duration"></a><p class="title"><b>Table 5.11. .NET Binding for the C++ Messaging API Class: Duration</b></p><div class="table-contents"><table summary=".NET Binding for the C++ Messaging API Class: Duration" border="1"><colgroup><col><col></colgroup><thead><tr><th colspan="2" align="center">.NET Binding Class: Duration</th></tr><tr><th>Lang
 uage</th><th>Syntax</th></tr></thead><tbody><tr><td>C++</td><td>class Duration</td></tr><tr><td>.NET</td><td>public ref class Duration</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>explicit Duration(uint64_t milliseconds);</td></tr><tr><td>.NET</td><td>public Duration(ulong mS);</td></tr><tr><td colspan="2" align="center">Copy constructor</td></tr><tr><td>C++</td><td>n/a</td></tr><tr><td>.NET</td><td>public Duration(Duration rhs);</td></tr><tr><td colspan="2" align="center">Destructor</td></tr><tr><td>C++</td><td>default</td></tr><tr><td>.NET</td><td>default</td></tr><tr><td colspan="2" align="center">Finalizer</td></tr><tr><td>C++</td><td>n/a</td></tr><tr><td>.NET</td><td>default</td></tr><tr><td colspan="2" align="center">Property: Milliseconds</td></tr><tr><td>C++</td><td>uint64_t getMilliseconds() const;</td></tr><tr><td>.NET</td><td>public ulong Milliseconds { get; }</td></tr><tr><td colspan="2" align="center">Operator: *</td></tr>
 <tr><td>C++</td><td>Duration operator*(const Duration&amp; duration, uint64_t multiplier);</td></tr><tr><td>.NET</td><td>public static Duration operator *(Duration dur, ulong multiplier);</td></tr><tr><td>.NET</td><td>public static Duration Multiply(Duration dur, ulong multiplier);</td></tr><tr><td>C++</td><td>Duration operator*(uint64_t multiplier, const Duration&amp; duration);</td></tr><tr><td>.NET</td><td>public static Duration operator *(ulong multiplier, Duration dur);</td></tr><tr><td>.NET</td><td>public static Duration Multiply(ulong multiplier, Duration dur);</td></tr><tr><td colspan="2" align="center">Constants</td></tr><tr><td>C++</td><td>static const Duration FOREVER;</td></tr><tr><td>C++</td><td>static const Duration IMMEDIATE;</td></tr><tr><td>C++</td><td>static const Duration SECOND;</td></tr><tr><td>C++</td><td>static const Duration MINUTE;</td></tr><tr><td>.NET</td><td>public sealed class DurationConstants</td></tr><tr><td>.NET</td><td>public static Duration
  FORVER;</td></tr><tr><td>.NET</td><td>public static Duration IMMEDIATE;</td></tr><tr><td>.NET</td><td>public static Duration MINUTE;</td></tr><tr><td>.NET</td><td>public static Duration SECOND;</td></tr></tbody></table></div></div><br class="table-break"></div><div class="section" title="5.3.4. .NET Binding for the C++ Messaging API Class: FailoverUpdates"><div class="titlepage"><div><div><h3 class="title"><a name="id3088519"></a>5.3.4. .NET Binding for the C++ Messaging API Class: FailoverUpdates</h3></div></div></div><div class="table"><a name="table-Dotnet-Binding-FailoverUpdates"></a><p class="title"><b>Table 5.12. .NET Binding for the C++ Messaging API Class: FailoverUpdates</b></p><div class="table-contents"><table summary=".NET Binding for the C++ Messaging API Class: FailoverUpdates" border="1"><colgroup><col><col></colgroup><thead><tr><th colspan="2" align="center">.NET Binding Class: FailoverUpdates</th></tr><tr><th>Language</th><th>Syntax</th></tr></thead><tb
 ody><tr><td>C++</td><td>class FailoverUpdates</td></tr><tr><td>.NET</td><td>public ref class FailoverUpdates</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>FailoverUpdates(Connection&amp; connection);</td></tr><tr><td>.NET</td><td>public FailoverUpdates(Connection connection);</td></tr><tr><td colspan="2" align="center">Destructor</td></tr><tr><td>C++</td><td>~FailoverUpdates();</td></tr><tr><td>.NET</td><td>~FailoverUpdates();</td></tr><tr><td colspan="2" align="center">Finalizer</td></tr><tr><td>C++</td><td>n/a</td></tr><tr><td>.NET</td><td>!FailoverUpdates();</td></tr></tbody></table></div></div><br class="table-break"></div><div class="section" title="5.3.5. .NET Binding for the C++ Messaging API Class: Message"><div class="titlepage"><div><div><h3 class="title"><a name="id3088698"></a>5.3.5. .NET Binding for the C++ Messaging API Class: Message</h3></div></div></div><div class="table"><a name="table-Dotnet-Binding-Message"></a><p 
 class="title"><b>Table 5.13. .NET Binding for the C++ Messaging API Class: Message</b></p><div class="table-contents"><table summary=".NET Binding for the C++ Messaging API Class: Message" border="1"><colgroup><col><col></colgroup><thead><tr><th colspan="2" align="center">.NET Binding Class: Message</th></tr><tr><th>Language</th><th>Syntax</th></tr></thead><tbody><tr><td>C++</td><td>class Message</td></tr><tr><td>.NET</td><td>public ref class Message</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>Message(const std::string&amp; bytes = std::string());</td></tr><tr><td>.NET</td><td>Message();</td></tr><tr><td>.NET</td><td>Message(System::String ^ theStr);</td></tr><tr><td>.NET</td><td>Message(System::Object ^ theValue);</td></tr><tr><td>.NET</td><td>Message(array&lt;System::Byte&gt; ^ bytes);</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>C++</td><td>Message(const char*, size_t);</td></tr><tr><td>.NET</td><td>pu
 blic Message(byte[] bytes, int offset, int size);</td></tr><tr><td>	</td><td>Copy constructor</td></tr><tr><td>C++</td><td>Message(const Message&amp;);</td></tr><tr><td>.NET</td><td>public Message(Message message);</td></tr><tr><td>	</td><td>Copy assignment operator</td></tr><tr><td>C++</td><td>Message&amp; operator=(const Message&amp;);</td></tr><tr><td>.NET</td><td>public Message op_Assign(Message rhs);</td></tr><tr><td colspan="2" align="center">Destructor</td></tr><tr><td>C++</td><td>~Message();</td></tr><tr><td>.NET</td><td>~Message();</td></tr><tr><td colspan="2" align="center">Finalizer</td></tr><tr><td>C++</td><td>n/a</td></tr><tr><td>.NET</td><td>!Message()</td></tr><tr><td colspan="2" align="center">Property: ReplyTo</td></tr><tr><td>C++</td><td>void setReplyTo(const Address&amp;);</td></tr><tr><td>C++</td><td>const Address&amp; getReplyTo() const;</td></tr><tr><td>.NET</td><td>public Address ReplyTo { get; set; }</td></tr><tr><td colspan="2" align="center">Propert
 y: Subject</td></tr><tr><td>C++</td><td>void setSubject(const std::string&amp;);</td></tr><tr><td>C++</td><td>const std::string&amp; getSubject() const;</td></tr><tr><td>.NET</td><td>public string Subject { get; set; }</td></tr><tr><td colspan="2" align="center">Property: ContentType</td></tr><tr><td>C++</td><td>void setContentType(const std::string&amp;);</td></tr><tr><td>C++</td><td>const std::string&amp; getContentType() const;</td></tr><tr><td>.NET</td><td>public string ContentType { get; set; }</td></tr><tr><td colspan="2" align="center">Property: MessageId</td></tr><tr><td>C++</td><td>void setMessageId(const std::string&amp;);</td></tr><tr><td>C++</td><td>const std::string&amp; getMessageId() const;</td></tr><tr><td>.NET</td><td>public string MessageId { get; set; }</td></tr><tr><td colspan="2" align="center">Property: UserId</td></tr><tr><td>C++</td><td>void setUserId(const std::string&amp;);</td></tr><tr><td>C++</td><td>const std::string&amp; getUserId() const;</td><
 /tr><tr><td>.NET</td><td>public string UserId { get; set; }</td></tr><tr><td colspan="2" align="center">Property: CorrelationId</td></tr><tr><td>C++</td><td>void setCorrelationId(const std::string&amp;);</td></tr><tr><td>C++</td><td>const std::string&amp; getCorrelationId() const;</td></tr><tr><td>.NET</td><td>public string CorrelationId { get; set; }</td></tr><tr><td colspan="2" align="center">Property: Priority</td></tr><tr><td>C++</td><td>void setPriority(uint8_t);</td></tr><tr><td>C++</td><td>uint8_t getPriority() const;</td></tr><tr><td>.NET</td><td>public byte Priority { get; set; }</td></tr><tr><td colspan="2" align="center">Property: Ttl</td></tr><tr><td>C++</td><td>void setTtl(Duration ttl);</td></tr><tr><td>C++</td><td>Duration getTtl() const;</td></tr><tr><td>.NET</td><td>public Duration Ttl { get; set; }</td></tr><tr><td colspan="2" align="center">Property: Durable</td></tr><tr><td>C++</td><td>void setDurable(bool durable);</td></tr><tr><td>C++</td><td>bool getDu
 rable() const;</td></tr><tr><td>.NET</td><td>public bool Durable { get; set; }</td></tr><tr><td colspan="2" align="center">Property: Redelivered</td></tr><tr><td>C++</td><td>bool getRedelivered() const;</td></tr><tr><td>C++</td><td>void setRedelivered(bool);</td></tr><tr><td>.NET</td><td>public bool Redelivered { get; set; }</td></tr><tr><td colspan="2" align="center">Method: SetProperty</td></tr><tr><td>C++</td><td>void setProperty(const std::string&amp;, const qpid::types::Variant&amp;);</td></tr><tr><td>.NET</td><td>public void SetProperty(string name, object value);</td></tr><tr><td colspan="2" align="center">Property: Properties</td></tr><tr><td>C++</td><td>const qpid::types::Variant::Map&amp; getProperties() const;</td></tr><tr><td>C++</td><td>qpid::types::Variant::Map&amp; getProperties();</td></tr><tr><td>.NET</td><td>public Dictionary&lt;string, object&gt; Properties { get; set; }</td></tr><tr><td colspan="2" align="center">Method: SetContent</td></tr><tr><td>C++</t
 d><td>void setContent(const std::string&amp;);</td></tr><tr><td>C++</td><td>void setContent(const char* chars, size_t count);</td></tr><tr><td>.NET</td><td>public void SetContent(byte[] bytes);</td></tr><tr><td>.NET</td><td>public void SetContent(string content);</td></tr><tr><td>.NET</td><td>public void SetContent(byte[] bytes, int offset, int size);</td></tr><tr><td colspan="2" align="center">Method: GetContent</td></tr><tr><td>C++</td><td>std::string getContent() const;</td></tr><tr><td>.NET</td><td>public string GetContent();</td></tr><tr><td>.NET</td><td>public void GetContent(byte[] arr);</td></tr><tr><td>.NET</td><td>public void GetContent(Collection&lt;object&gt; __p1);</td></tr><tr><td>.NET</td><td>public void GetContent(Dictionary&lt;string, object&gt; dict);</td></tr><tr><td colspan="2" align="center">Method: GetContentPtr</td></tr><tr><td>C++</td><td>const char* getContentPtr() const;</td></tr><tr><td>.NET</td><td>n/a</td></tr><tr><td colspan="2" align="center">P
 roperty: ContentSize</td></tr><tr><td>C++</td><td>size_t getContentSize() const;</td></tr><tr><td>.NET</td><td>public ulong ContentSize { get; }</td></tr><tr><td colspan="2" align="center">Struct: EncodingException</td></tr><tr><td>C++</td><td>struct EncodingException : qpid::types::Exception</td></tr><tr><td>.NET</td><td>n/a</td></tr><tr><td colspan="2" align="center">Method: decode</td></tr><tr><td>C++</td><td>void decode(const Message&amp; message, qpid::types::Variant::Map&amp; map,	const std::string&amp; encoding = std::string());</td></tr><tr><td>C++</td><td>void decode(const Message&amp; message, qpid::types::Variant::List&amp; list, const std::string&amp; encoding = std::string());</td></tr><tr><td>.NET</td><td>TODO:</td></tr><tr><td colspan="2" align="center">Method: encode</td></tr><tr><td>C++</td><td>void encode(const qpid::types::Variant::Map&amp; map, Message&amp; message, const std::string&amp; encoding = std::string());</td></tr><tr><td>C++</td><td>void encode
 (const qpid::types::Variant::List&amp; list, Message&amp; message, const std::string&amp; encoding = std::string());</td></tr><tr><td>.NET</td><td>TODO:</td></tr><tr><td colspan="2" align="center">Method: AsString</td></tr><tr><td>C++</td><td>n/a</td></tr><tr><td>.NET</td><td>public string AsString(object obj);</td></tr><tr><td>.NET</td><td>public string ListAsString(Collection&lt;object&gt; list);</td></tr><tr><td>.NET</td><td>public string MapAsString(Dictionary&lt;string, object&gt; dict);</td></tr></tbody></table></div></div><br class="table-break"></div><div class="section" title="5.3.6. .NET Binding for the C++ Messaging API Class: Receiver"><div class="titlepage"><div><div><h3 class="title"><a name="id3089897"></a>5.3.6. .NET Binding for the C++ Messaging API Class: Receiver</h3></div></div></div><div class="table"><a name="table-Dotnet-Binding-Receiver"></a><p class="title"><b>Table 5.14. .NET Binding for the C++ Messaging API Class: Receiver</b></p><div class="t
 able-contents"><table summary=".NET Binding for the C++ Messaging API Class: Receiver" border="1"><colgroup><col><col></colgroup><thead><tr><th colspan="2" align="center">.NET Binding Class: Receiver</th></tr><tr><th>Language</th><th>Syntax</th></tr></thead><tbody><tr><td>C++</td><td>class Receiver</td></tr><tr><td>.NET</td><td>public ref class Receiver</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>.NET</td><td>Constructed object is returned by Session.CreateReceiver</td></tr><tr><td colspan="2" align="center">Copy constructor</td></tr><tr><td>C++</td><td>Receiver(const Receiver&amp;);</td></tr><tr><td>.NET</td><td>public Receiver(Receiver receiver);</td></tr><tr><td colspan="2" align="center">Destructor</td></tr><tr><td>C++</td><td>~Receiver();</td></tr><tr><td>.NET</td><td>~Receiver();</td></tr><tr><td colspan="2" align="center">Finalizer</td></tr><tr><td>C++</td><td>n/a</td></tr><tr><td>.NET</td><td>!Receiver()</td></tr><tr><td colspan="2" align
 ="center">Copy assignment operator</td></tr><tr><td>C++</td><td>Receiver&amp; operator=(const Receiver&amp;);</td></tr><tr><td>.NET</td><td>public Receiver op_Assign(Receiver rhs);</td></tr><tr><td colspan="2" align="center">Method: Get</td></tr><tr><td>C++</td><td>bool get(Message&amp; message, Duration timeout=Duration::FOREVER);</td></tr><tr><td>.NET</td><td>public bool Get(Message mmsgp);</td></tr><tr><td>.NET</td><td>public bool Get(Message mmsgp, Duration durationp);</td></tr><tr><td colspan="2" align="center">Method: Get</td></tr><tr><td>C++</td><td>Message get(Duration timeout=Duration::FOREVER);</td></tr><tr><td>.NET</td><td>public Message Get();</td></tr><tr><td>.NET</td><td>public Message Get(Duration durationp);</td></tr><tr><td colspan="2" align="center">Method: Fetch</td></tr><tr><td>C++</td><td>bool fetch(Message&amp; message, Duration timeout=Duration::FOREVER);</td></tr><tr><td>.NET</td><td>public bool Fetch(Message mmsgp);</td></tr><tr><td>.NET</td><td>publ
 ic bool Fetch(Message mmsgp, Duration duration);</td></tr><tr><td colspan="2" align="center">Method: Fetch</td></tr><tr><td>C++</td><td>Message fetch(Duration timeout=Duration::FOREVER);</td></tr><tr><td>.NET</td><td>public Message Fetch();</td></tr><tr><td>.NET</td><td>public Message Fetch(Duration durationp);</td></tr><tr><td colspan="2" align="center">Property: Capacity</td></tr><tr><td>C++</td><td>void setCapacity(uint32_t);</td></tr><tr><td>C++</td><td>uint32_t getCapacity();</td></tr><tr><td>.NET</td><td>public uint Capacity { get; set; }</td></tr><tr><td colspan="2" align="center">Property: Available</td></tr><tr><td>C++</td><td>uint32_t getAvailable();</td></tr><tr><td>.NET</td><td>public uint Available { get; }</td></tr><tr><td colspan="2" align="center">Property: Unsettled</td></tr><tr><td>C++</td><td>uint32_t getUnsettled();</td></tr><tr><td>.NET</td><td>public uint Unsettled { get; }</td></tr><tr><td colspan="2" align="center">Method: Close</td></tr><tr><td>C++</
 td><td>void close();</td></tr><tr><td>.NET</td><td>public void Close();</td></tr><tr><td colspan="2" align="center">Property: IsClosed</td></tr><tr><td>C++</td><td>bool isClosed() const;</td></tr><tr><td>.NET</td><td>public bool IsClosed { get; }</td></tr><tr><td colspan="2" align="center">Property: Name</td></tr><tr><td>C++</td><td>const std::string&amp; getName() const;</td></tr><tr><td>.NET</td><td>public string Name { get; }</td></tr><tr><td colspan="2" align="center">Property: Session</td></tr><tr><td>C++</td><td>Session getSession() const;</td></tr><tr><td>.NET</td><td>public Session Session { get; }</td></tr></tbody></table></div></div><br class="table-break"></div><div class="section" title="5.3.7. .NET Binding for the C++ Messaging API Class: Sender"><div class="titlepage"><div><div><h3 class="title"><a name="id3090543"></a>5.3.7. .NET Binding for the C++ Messaging API Class: Sender</h3></div></div></div><div class="table"><a name="table-Dotnet-Binding-Sender"></a
 ><p class="title"><b>Table 5.15. .NET Binding for the C++ Messaging API Class: Sender</b></p><div class="table-contents"><table summary=".NET Binding for the C++ Messaging API Class: Sender" border="1"><colgroup><col><col></colgroup><thead><tr><th colspan="2" align="center">.NET Binding Class: Sender</th></tr><tr><th>Language</th><th>Syntax</th></tr></thead><tbody><tr><td>C++</td><td>class Sender</td></tr><tr><td>.NET</td><td>public ref class Sender</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>.NET</td><td>Constructed object is returned by Session.CreateSender</td></tr><tr><td colspan="2" align="center">Copy constructor</td></tr><tr><td>C++</td><td>Sender(const Sender&amp;);</td></tr><tr><td>.NET</td><td>public Sender(Sender sender);</td></tr><tr><td colspan="2" align="center">Destructor</td></tr><tr><td>C++</td><td>~Sender();</td></tr><tr><td>.NET</td><td>~Sender();</td></tr><tr><td colspan="2" align="center">Finalizer</td></tr><tr><td>C++</td>
 <td>n/a</td></tr><tr><td>.NET</td><td>!Sender()</td></tr><tr><td colspan="2" align="center">Copy assignment operator</td></tr><tr><td>C++</td><td>Sender&amp; operator=(const Sender&amp;);</td></tr><tr><td>.NET</td><td>public Sender op_Assign(Sender rhs);</td></tr><tr><td colspan="2" align="center">Method: Send</td></tr><tr><td>C++</td><td>void send(const Message&amp; message, bool sync=false);</td></tr><tr><td>.NET</td><td>public void Send(Message mmsgp);</td></tr><tr><td>.NET</td><td>public void Send(Message mmsgp, bool sync);</td></tr><tr><td colspan="2" align="center">Method: Close</td></tr><tr><td>C++</td><td>void close();</td></tr><tr><td>.NET</td><td>public void Close();</td></tr><tr><td colspan="2" align="center">Property: Capacity</td></tr><tr><td>C++</td><td>void setCapacity(uint32_t);</td></tr><tr><td>C++</td><td>uint32_t getCapacity();</td></tr><tr><td>.NET</td><td>public uint Capacity { get; set; }</td></tr><tr><td colspan="2" align="center">Property: Available</
 td></tr><tr><td>C++</td><td>uint32_t getAvailable();</td></tr><tr><td>.NET</td><td>public uint Available { get; }</td></tr><tr><td colspan="2" align="center">Property: Unsettled</td></tr><tr><td>C++</td><td>uint32_t getUnsettled();</td></tr><tr><td>.NET</td><td>public uint Unsettled { get; }</td></tr><tr><td colspan="2" align="center">Property: Name</td></tr><tr><td>C++</td><td>const std::string&amp; getName() const;</td></tr><tr><td>.NET</td><td>public string Name { get; }</td></tr><tr><td colspan="2" align="center">Property: Session</td></tr><tr><td>C++</td><td>Session getSession() const;</td></tr><tr><td>.NET</td><td>public Session Session { get; }</td></tr></tbody></table></div></div><br class="table-break"></div><div class="section" title="5.3.8. .NET Binding for the C++ Messaging API Class: Session"><div class="titlepage"><div><div><h3 class="title"><a name="id3091022"></a>5.3.8. .NET Binding for the C++ Messaging API Class: Session</h3></div></div></div><div class="
 table"><a name="table-Dotnet-Binding-Session"></a><p class="title"><b>Table 5.16. .NET Binding for the C++ Messaging API Class: Session</b></p><div class="table-contents"><table summary=".NET Binding for the C++ Messaging API Class: Session" border="1"><colgroup><col><col></colgroup><thead><tr><th colspan="2" align="center">.NET Binding Class: Session</th></tr><tr><th>Language</th><th>Syntax</th></tr></thead><tbody><tr><td>C++</td><td>class Session</td></tr><tr><td>.NET</td><td>public ref class Session</td></tr><tr><td colspan="2" align="center">Constructor</td></tr><tr><td>.NET</td><td>Constructed object is returned by Connection.CreateSession</td></tr><tr><td colspan="2" align="center">Copy constructor</td></tr><tr><td>C++</td><td>Session(const Session&amp;);</td></tr><tr><td>.NET</td><td>public Session(Session session);</td></tr><tr><td colspan="2" align="center">Destructor</td></tr><tr><td>C++</td><td>~Session();</td></tr><tr><td>.NET</td><td>~Session();</td></tr><tr><
 td colspan="2" align="center">Finalizer</td></tr><tr><td>C++</td><td>n/a</td></tr><tr><td>.NET</td><td>!Session()</td></tr><tr><td colspan="2" align="center">Copy assignment operator</td></tr><tr><td>C++</td><td>Session&amp; operator=(const Session&amp;);</td></tr><tr><td>.NET</td><td>public Session op_Assign(Session rhs);</td></tr><tr><td colspan="2" align="center">Method: Close</td></tr><tr><td>C++</td><td>void close();</td></tr><tr><td>.NET</td><td>public void Close();</td></tr><tr><td colspan="2" align="center">Method: Commit</td></tr><tr><td>C++</td><td>void commit();</td></tr><tr><td>.NET</td><td>public void Commit();</td></tr><tr><td colspan="2" align="center">Method: Rollback</td></tr><tr><td>C++</td><td>void rollback();</td></tr><tr><td>.NET</td><td>public void Rollback();</td></tr><tr><td colspan="2" align="center">Method: Acknowledge</td></tr><tr><td>C++</td><td>void acknowledge(bool sync=false);</td></tr><tr><td>C++</td><td>void acknowledge(Message&amp;, bool syn
 c=false);</td></tr><tr><td>.NET</td><td>public void Acknowledge();</td></tr><tr><td>.NET</td><td>public void Acknowledge(bool sync);</td></tr><tr><td>.NET</td><td>public void Acknowledge(Message __p1);</td></tr><tr><td>.NET</td><td>public void Acknowledge(Message __p1, bool __p2);</td></tr><tr><td colspan="2" align="center">Method: Reject</td></tr><tr><td>C++</td><td>void reject(Message&amp;);</td></tr><tr><td>.NET</td><td>public void Reject(Message __p1);</td></tr><tr><td colspan="2" align="center">Method: Release</td></tr><tr><td>C++</td><td>void release(Message&amp;);</td></tr><tr><td>.NET</td><td>public void Release(Message __p1);</td></tr><tr><td colspan="2" align="center">Method: Sync</td></tr><tr><td>C++</td><td>void sync(bool block=true);</td></tr><tr><td>.NET</td><td>public void Sync();</td></tr><tr><td>.NET</td><td>public void Sync(bool block);</td></tr><tr><td colspan="2" align="center">Property: Receivable</td></tr><tr><td>C++</td><td>uint32_t getReceivable();</t
 d></tr><tr><td>.NET</td><td>public uint Receivable { get; }</td></tr><tr><td colspan="2" align="center">Property: UnsettledAcks</td></tr><tr><td>C++</td><td>uint32_t getUnsettledAcks();</td></tr><tr><td>.NET</td><td>public uint UnsetledAcks { get; }</td></tr><tr><td colspan="2" align="center">Method: NextReceiver</td></tr><tr><td>C++</td><td>bool nextReceiver(Receiver&amp;, Duration timeout=Duration::FOREVER);</td></tr><tr><td>.NET</td><td>public bool NextReceiver(Receiver rcvr);</td></tr><tr><td>.NET</td><td>public bool NextReceiver(Receiver rcvr, Duration timeout);</td></tr><tr><td colspan="2" align="center">Method: NextReceiver</td></tr><tr><td>C++</td><td>Receiver nextReceiver(Duration timeout=Duration::FOREVER);</td></tr><tr><td>.NET</td><td>public Receiver NextReceiver();</td></tr><tr><td>.NET</td><td>public Receiver NextReceiver(Duration timeout);</td></tr><tr><td colspan="2" align="center">Method: CreateSender</td></tr><tr><td>C++</td><td>Sender createSender(const Ad
 dress&amp; address);</td></tr><tr><td>.NET</td><td>public Sender CreateSender(Address address);</td></tr><tr><td colspan="2" align="center">Method: CreateSender</td></tr><tr><td>C++</td><td>Sender createSender(const std::string&amp; address);</td></tr><tr><td>.NET</td><td>public Sender CreateSender(string address);</td></tr><tr><td colspan="2" align="center">Method: CreateReceiver</td></tr><tr><td>C++</td><td>Receiver createReceiver(const Address&amp; address);</td></tr><tr><td>.NET</td><td>public Receiver CreateReceiver(Address address);</td></tr><tr><td colspan="2" align="center">Method: CreateReceiver</td></tr><tr><td>C++</td><td>Receiver createReceiver(const std::string&amp; address);</td></tr><tr><td>.NET</td><td>public Receiver CreateReceiver(string address);</td></tr><tr><td colspan="2" align="center">Method: GetSender</td></tr><tr><td>C++</td><td>Sender getSender(const std::string&amp; name) const;</td></tr><tr><td>.NET</td><td>public Sender GetSender(string name);</
 td></tr><tr><td colspan="2" align="center">Method: GetReceiver</td></tr><tr><td>C++</td><td>Receiver getReceiver(const std::string&amp; name) const;</td></tr><tr><td>.NET</td><td>public Receiver GetReceiver(string name);</td></tr><tr><td colspan="2" align="center">Property: Connection</td></tr><tr><td>C++</td><td>Connection getConnection() const;</td></tr><tr><td>.NET</td><td>public Connection Connection { get; }</td></tr><tr><td colspan="2" align="center">Property: HasError</td></tr><tr><td>C++</td><td>bool hasError();</td></tr><tr><td>.NET</td><td>public bool HasError { get; }</td></tr><tr><td colspan="2" align="center">Method: CheckError</td></tr><tr><td>C++</td><td>void checkError();</td></tr><tr><td>.NET</td><td>public void CheckError();</td></tr></tbody></table></div></div><br class="table-break"></div><div class="section" title="5.3.9. .NET Binding for the C++ Messaging API Class: SessionReceiver"><div class="titlepage"><div><div><h3 class="title"><a name="id3091987"
 ></a>5.3.9. .NET Binding for the C++ Messaging API Class: SessionReceiver</h3></div></div></div><p>
+	The SessionReceiver class provides a convenient callback
+	mechanism for Messages received by all Receivers on a given
+	Session.
+      </p><p>
+	</p><pre class="programlisting">
+using Org.Apache.Qpid.Messaging;
+using System;
+
+namespace Org.Apache.Qpid.Messaging.SessionReceiver
+{
+    public interface ISessionReceiver
+    {
+        void SessionReceiver(Receiver receiver, Message message);
+    }
+
+    public class CallbackServer
+    {
+        public CallbackServer(Session session, ISessionReceiver callback);
+
+        public void Close();
+    }
+}
+
+	</pre><p>
+      </p><p>
+	To use this class a client program includes references to both
+	Org.Apache.Qpid.Messaging and Org.Apache.Qpid.Messaging.SessionReceiver.
+	The calling program creates a function that implements the 
+	ISessionReceiver interface. This function will be called whenever
+	message is received by the session. The callback process is started
+	by creating a CallbackServer and will continue to run until the 
+	client program calls the CallbackServer.Close function.
+      </p><p>
+	A complete operating example of using the SessionReceiver callback
+	is contained in cpp/bindings/qpid/dotnet/examples/csharp.map.callback.receiver.
+      </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch05.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">5.2. .NET Binding for the C++ Messaging Client Examples </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113098.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113098.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113098.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113099.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113099.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113099.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113100.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113100.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113100.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113101.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113101.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113101.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113102.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113102.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113102.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113103.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113103.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113103.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113104.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113104.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113104.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113105.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113105.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113105.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113106.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113106.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113106.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113107.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113107.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113107.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113108.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113108.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113108.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113109.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113109.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113109.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113110.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113110.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113110.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113111.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113111.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113111.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113112.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113112.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113112.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113113.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113113.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113113.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113114.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113114.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113114.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113115.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113115.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113115.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113116.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113116.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113116.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113117.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113117.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113117.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113118.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113118.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113118.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113119.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113119.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/jmx_console/3113119.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/qpid-logo.png
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/qpid-logo.png?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/images/qpid-logo.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/index.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/index.html?rev=1042462&view=auto
==============================================================================
--- qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/index.html (added)
+++ qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/html/index.html Sun Dec  5 21:59:22 2010
@@ -0,0 +1 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Programming in Apache Qpid</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Programming in Apache Qpid"><link rel="next" href="ch01.html" title="Chapter 1. Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Programming in Apache Qpid</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch01.html">Next</a></td></tr></table><hr></div><div class="book" title="Programming in Apache Qpid"><div class="titlepage"><div><div><h1 class="title"><a name="client-api-tutorial"></a>Programming in Apache Qpid</h1></div><div><h2 class="subtitle">Cross-Platform AMQP Messaging in Java JMS, .NET, 
 C++, and Python</h2></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="ch01.html">1. Introduction</a></span></dt><dt><span class="chapter"><a href="ch02.html">2. Using the Qpid Messaging API</a></span></dt><dd><dl><dt><span class="section"><a href="ch02.html#id3073113">2.1. A Simple Messaging Program in C++</a></span></dt><dt><span class="section"><a href="ch02s02.html">2.2. A Simple Messaging Program in Python</a></span></dt><dt><span class="section"><a href="ch02s03.html">2.3. A Simple Messaging Program in .NET C#</a></span></dt><dt><span class="section"><a href="ch02s04.html">2.4. Addresses</a></span></dt><dd><dl><dt><span class="section"><a href="ch02s04.html#id3065421">2.4.1. Address Strings</a></span></dt><dt><span class="section"><a href="ch02s04.html#id3068029">2.4.2. Subjects</a></span></dt><dt><span class="section"><a href="ch02s04.html#id3063829">2.4.3. Address String Options</a></span></dt><dt><span class=
 "section"><a href="ch02s04.html#section-address-string-bnf">2.4.4. Address String Grammar</a></span></dt></dl></dd><dt><span class="section"><a href="ch02s05.html">2.5. Sender Capacity and Replay</a></span></dt><dt><span class="section"><a href="ch02s06.html">2.6. Receiver Capacity (Prefetch)</a></span></dt><dt><span class="section"><a href="ch02s07.html">2.7. Acknowledging Received Messages</a></span></dt><dt><span class="section"><a href="ch02s08.html">2.8. Receiving Messages from Multiple Sources</a></span></dt><dt><span class="section"><a href="ch02s09.html">2.9. Transactions</a></span></dt><dt><span class="section"><a href="ch02s10.html">2.10. Connection Options</a></span></dt><dt><span class="section"><a href="ch02s11.html">2.11. Maps in Message Content</a></span></dt><dd><dl><dt><span class="section"><a href="ch02s11.html#section-Python-Maps">2.11.1. Qpid Maps in Python</a></span></dt><dt><span class="section"><a href="ch02s11.html#section-cpp-Maps">2.11.2. Qpid Maps 
 in C++</a></span></dt><dt><span class="section"><a href="ch02s11.html#section-dotnet-Maps">2.11.3. Qpid Maps in .NET</a></span></dt></dl></dd><dt><span class="section"><a href="ch02s12.html">2.12. The Request / Response Pattern</a></span></dt><dt><span class="section"><a href="ch02s13.html">2.13. Performance Tips</a></span></dt><dt><span class="section"><a href="ch02s14.html">2.14. Cluster Failover</a></span></dt><dt><span class="section"><a href="ch02s15.html">2.15. Logging</a></span></dt><dd><dl><dt><span class="section"><a href="ch02s15.html#id3083576">2.15.1. Logging in C++</a></span></dt><dt><span class="section"><a href="ch02s15.html#id3083607">2.15.2. Logging in Python</a></span></dt></dl></dd><dt><span class="section"><a href="ch02s16.html">2.16. The AMQP 0-10 mapping</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch03.html">3. Using the Qpid JMS client</a></span></dt><dd><dl><dt><span class="section"><a href="ch03.html#id3084118">3.1. A Simple Messaging
  Program in Java JMS</a></span></dt><dt><span class="section"><a href="ch03s02.html">3.2. Apache Qpid JNDI Properties for AMQP Messaging</a></span></dt><dd><dl><dt><span class="section"><a href="ch03s02.html#id3084697">3.2.1. JNDI Properties for Apache Qpid</a></span></dt><dt><span class="section"><a href="ch03s02.html#id3084806">3.2.2. Connection URLs</a></span></dt></dl></dd><dt><span class="section"><a href="ch03s03.html">3.3. Java JMS Message Properties</a></span></dt><dt><span class="section"><a href="ch03s04.html">3.4. JMS MapMessage Types</a></span></dt><dt><span class="section"><a href="ch03s05.html">3.5. JMS Client Logging</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch04.html">4. Using the Qpid WCF client</a></span></dt><dd><dl><dt><span class="section"><a href="ch04.html#id3085763">4.1. XML and Binary Bindings</a></span></dt><dt><span class="section"><a href="ch04s02.html">4.2. Endpoints</a></span></dt><dt><span class="section"><a href="ch04s03.html
 ">4.3. Message Headers</a></span></dt><dt><span class="section"><a href="ch04s04.html">4.4. Security</a></span></dt><dt><span class="section"><a href="ch04s05.html">4.5. Transactions</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch05.html">5. The .NET Binding for the C++ Messaging Client</a></span></dt><dd><dl><dt><span class="section"><a href="ch05.html#id3086261">5.1. .NET Binding for the C++ Messaging Client Component Architecture</a></span></dt><dt><span class="section"><a href="ch05s02.html">5.2. .NET Binding for the C++ Messaging Client Examples</a></span></dt><dt><span class="section"><a href="ch05s03.html">5.3. .NET Binding Class Mapping to Underlying C++ Messaging API</a></span></dt><dd><dl><dt><span class="section"><a href="ch05s03.html#id3086842">5.3.1. .NET Binding for the C++ Messaging API Class: Address</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3087449">5.3.2. .NET Binding for the C++ Messaging API Class: Connection</a></spa
 n></dt><dt><span class="section"><a href="ch05s03.html#id3088095">5.3.3. .NET Binding for the C++ Messaging API Class: Duration</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3088519">5.3.4. .NET Binding for the C++ Messaging API Class: FailoverUpdates</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3088698">5.3.5. .NET Binding for the C++ Messaging API Class: Message</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3089897">5.3.6. .NET Binding for the C++ Messaging API Class: Receiver</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3090543">5.3.7. .NET Binding for the C++ Messaging API Class: Sender</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3091022">5.3.8. .NET Binding for the C++ Messaging API Class: Session</a></span></dt><dt><span class="section"><a href="ch05s03.html#id3091987">5.3.9. .NET Binding for the C++ Messaging API Class: SessionReceiver</a></span></dt></dl></dd></dl></dd>
 </dl></div><div class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>2.1. <a href="ch02s04.html#id3053709">Address String Options</a></dt><dt>2.2. <a href="ch02s04.html#table-node-properties">Node Properties</a></dt><dt>2.3. <a href="ch02s04.html#table-link-properties">Link Properties</a></dt><dt>2.4. <a href="ch02s10.html#id3039668">Connection Options</a></dt><dt>2.5. <a href="ch02s11.html#table-Python-Maps">Python Datatypes in Maps</a></dt><dt>2.6. <a href="ch02s11.html#table-cpp-Maps">C++ Datatypes in Maps</a></dt><dt>2.7. <a href="ch02s11.html#table-dotnet-Maps">Datatype Mapping between C++ and .NET binding</a></dt><dt>2.8. <a href="ch02s16.html#table-amqp0-10-message-properties">Mapping to AMQP 0-10 Message Properties</a></dt><dt>3.1. <a href="ch03s02.html#id3084707">JNDI Properties supported by Apache Qpid</a></dt><dt>3.2. <a href="ch03s02.html#id3084847">Connection URL Properties</a></dt><dt>3.3. <a href="ch03s02.html#id3085044">Broker List Options</a></dt><dt>3
 .4. <a href="ch03s03.html#id3085345">Java JMS Mapping to AMQP 0-10 Message Properties</a></dt><dt>3.5. <a href="ch03s04.html#table-Java-Maps">Java Datatypes in Maps</a></dt><dt>4.1. <a href="ch04.html#id3085879">WCF Binding Parameters</a></dt><dt>5.1. <a href="ch05.html#table-Dotnet-Binding-Component-Architecture">.NET Binding for the C++ Messaging Client Component Architecture</a></dt><dt>5.2. <a href="ch05s02.html#table-Dotnet-Binding-Example-Client-Server">Example : Client - Server</a></dt><dt>5.3. <a href="ch05s02.html#table-Dotnet-Binding-Example-MapSender-MapReceiver">Example : Map Sender &#8211; Map Receiver</a></dt><dt>5.4. <a href="ch05s02.html#table-Dotnet-Binding-Example-Spout-Drain">Example : Spout - Drain</a></dt><dt>5.5. <a href="ch05s02.html#table-Dotnet-Binding-Example-CallbackSender-CallbackReceiver">Example : Map Callback Sender &#8211; Map Callback Receiver</a></dt><dt>5.6. <a href="ch05s02.html#table-Dotnet-Binding-Example-DeclareQueues">Example - Declare
  Queues</a></dt><dt>5.7. <a href="ch05s02.html#table-Dotnet-Binding-Example-DirectSender-DirectReceiver">Example: Direct Sender - Direct Receiver</a></dt><dt>5.8. <a href="ch05s02.html#table-Dotnet-Binding-Example-Helloworld">Example: Hello World</a></dt><dt>5.9. <a href="ch05s03.html#table-Dotnet-Binding-Address">.NET Binding for the C++ Messaging API Class: Address</a></dt><dt>5.10. <a href="ch05s03.html#table-Dotnet-Binding-Connection">.NET Binding for the C++ Messaging API Class: Connection</a></dt><dt>5.11. <a href="ch05s03.html#table-Dotnet-Binding-Duration">.NET Binding for the C++ Messaging API Class: Duration</a></dt><dt>5.12. <a href="ch05s03.html#table-Dotnet-Binding-FailoverUpdates">.NET Binding for the C++ Messaging API Class: FailoverUpdates</a></dt><dt>5.13. <a href="ch05s03.html#table-Dotnet-Binding-Message">.NET Binding for the C++ Messaging API Class: Message</a></dt><dt>5.14. <a href="ch05s03.html#table-Dotnet-Binding-Receiver">.NET Binding for the C++ Mes
 saging API Class: Receiver</a></dt><dt>5.15. <a href="ch05s03.html#table-Dotnet-Binding-Sender">.NET Binding for the C++ Messaging API Class: Sender</a></dt><dt>5.16. <a href="ch05s03.html#table-Dotnet-Binding-Session">.NET Binding for the C++ Messaging API Class: Session</a></dt></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>2.1. <a href="ch02.html#id3054994">"Hello world!" in C++</a></dt><dt>2.2. <a href="ch02s02.html#id3051015">"Hello world!" in Python</a></dt><dt>2.3. <a href="ch02s03.html#id3054424">"Hello world!" in .NET C#</a></dt><dt>2.4. <a href="ch02s04.html#id3071047">Queues</a></dt><dt>2.5. <a href="ch02s04.html#id3081201">Topics</a></dt><dt>2.6. <a href="ch02s04.html#id3070414">Using subjects</a></dt><dt>2.7. <a href="ch02s04.html#id3081269">Subjects with multi-word keys</a></dt><dt>2.8. <a href="ch02s04.html#id3055416">Assertions on Nodes</a></dt><dt>2.9. <a href="ch02s04.html#id3077576">Creating a Queue Automatically</a></dt><dt
 >2.10. <a href="ch02s04.html#id3057059">Browsing a Queue</a></dt><dt>2.11. <a href="ch02s04.html#id3067403">Using the XML Exchange</a></dt><dt>2.12. <a href="ch02s08.html#id3039465">Receiving Messages from Multiple Sources</a></dt><dt>2.13. <a href="ch02s09.html#id3039555">Transactions</a></dt><dt>2.14. <a href="ch02s10.html#id3039594">Specifying Connection Options in C++ and Python</a></dt><dt>2.15. <a href="ch02s11.html#id3082686">Sending Qpid Maps in Python</a></dt><dt>2.16. <a href="ch02s11.html#id3082856">Sending Qpid Maps in C++</a></dt><dt>2.17. <a href="ch02s11.html#id3083069">Sending Qpid Maps in .NET C#</a></dt><dt>2.18. <a href="ch02s12.html#id3083325">Request / Response Applications in C++</a></dt><dt>2.19. <a href="ch02s14.html#id3083526">Tracking cluster membership</a></dt><dt>3.1. <a href="ch03.html#id3084143">"Hello world!" in Java</a></dt><dt>3.2. <a href="ch03.html#id3084575">JNDI Properties File for "Hello world!" example</a></dt><dt>3.3. <a href="ch03s02.
 html#id3084675">JNDI Properties File</a></dt><dt>3.4. <a href="ch03s02.html#id3085009">Broker Lists</a></dt><dt>3.5. <a href="ch03s04.html#id3085516">Sending a Java JMS MapMessage</a></dt><dt>3.6. <a href="ch03s05.html#id3085736">log4j Logging Properties</a></dt><dt>4.1. <a href="ch04.html#id3085785">Traditional service model "Hello world!" example</a></dt><dt>4.2. <a href="ch04.html#id3085805">Binary  "Hello world!" example using the channel model</a></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Chapter 1. Introduction</td></tr></table></div></body></html>

Added: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/pdf/Programming-In-Apache-Qpid.pdf
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/pdf/Programming-In-Apache-Qpid.pdf?rev=1042462&view=auto
==============================================================================
Binary file - no diff available.

Propchange: qpid/site/docs/books/0.8/Programming-In-Apache-Qpid/pdf/Programming-In-Apache-Qpid.pdf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message