summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-07-19 21:10:26 +0000
committerTed Ross <tross@apache.org>2010-07-19 21:10:26 +0000
commit2c64438b0af2e3b878c6295c88c9ffd672de56a1 (patch)
treea14dff9270e31183dadbe0cd35ef84e98c92b51f /qpid/cpp
parent32b1e3dfdbc39021f72f5df17323d3fe42738f50 (diff)
downloadqpid-python-2c64438b0af2e3b878c6295c88c9ffd672de56a1.tar.gz
QPID-2589 - Patch from Chuck Rolke
Fixes a property misspelling and adds two missing functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@965634 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/bindings/qpid/dotnet/src/Connection.h8
-rw-r--r--qpid/cpp/bindings/qpid/dotnet/src/Receiver.h11
-rw-r--r--qpid/cpp/bindings/qpid/dotnet/src/Session.h2
3 files changed, 20 insertions, 1 deletions
diff --git a/qpid/cpp/bindings/qpid/dotnet/src/Connection.h b/qpid/cpp/bindings/qpid/dotnet/src/Connection.h
index 6a0caf1a16..0907d996ab 100644
--- a/qpid/cpp/bindings/qpid/dotnet/src/Connection.h
+++ b/qpid/cpp/bindings/qpid/dotnet/src/Connection.h
@@ -115,5 +115,13 @@ namespace Messaging {
Session ^ CreateSession(System::String ^ name);
Session ^ GetSession(System::String ^ name);
+
+ property System::String ^ AuthenticatedUsername
+ {
+ System::String ^ get ()
+ {
+ return gcnew System::String(connectionp->getAuthenticatedUsername().c_str());
+ }
+ }
};
}}}}
diff --git a/qpid/cpp/bindings/qpid/dotnet/src/Receiver.h b/qpid/cpp/bindings/qpid/dotnet/src/Receiver.h
index 68cfa6fec7..c52e901f7a 100644
--- a/qpid/cpp/bindings/qpid/dotnet/src/Receiver.h
+++ b/qpid/cpp/bindings/qpid/dotnet/src/Receiver.h
@@ -149,6 +149,17 @@ namespace Messaging {
void Close();
//
+ // IsClosed
+ //
+ property System::Boolean IsClosed
+ {
+ System::Boolean get ()
+ {
+ return receiverp->isClosed();
+ }
+ }
+
+ //
// Name
//
property System::String ^ Name
diff --git a/qpid/cpp/bindings/qpid/dotnet/src/Session.h b/qpid/cpp/bindings/qpid/dotnet/src/Session.h
index e07725247b..18dc09fb33 100644
--- a/qpid/cpp/bindings/qpid/dotnet/src/Session.h
+++ b/qpid/cpp/bindings/qpid/dotnet/src/Session.h
@@ -110,7 +110,7 @@ namespace Messaging {
System::UInt32 get () { return sessionp->getReceivable(); }
}
- property System::UInt32 UnsetledAcks
+ property System::UInt32 UnsettledAcks
{
System::UInt32 get () { return sessionp->getUnsettledAcks(); }
}