summaryrefslogtreecommitdiff
path: root/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
commit725c7aa9b87bed9bc8e5a867f61721843c61f903 (patch)
treeefe8fcca157ed80743943f2e160fe5c1f006b4fd /cpp
parent56cf23dc21b5787a4b567afe5b83c3e5504071e6 (diff)
downloadqpid-python-725c7aa9b87bed9bc8e5a867f61721843c61f903.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/qpid@965634 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/bindings/qpid/dotnet/src/Connection.h8
-rw-r--r--cpp/bindings/qpid/dotnet/src/Receiver.h11
-rw-r--r--cpp/bindings/qpid/dotnet/src/Session.h2
3 files changed, 20 insertions, 1 deletions
diff --git a/cpp/bindings/qpid/dotnet/src/Connection.h b/cpp/bindings/qpid/dotnet/src/Connection.h
index 6a0caf1a16..0907d996ab 100644
--- a/cpp/bindings/qpid/dotnet/src/Connection.h
+++ b/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/cpp/bindings/qpid/dotnet/src/Receiver.h b/cpp/bindings/qpid/dotnet/src/Receiver.h
index 68cfa6fec7..c52e901f7a 100644
--- a/cpp/bindings/qpid/dotnet/src/Receiver.h
+++ b/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/cpp/bindings/qpid/dotnet/src/Session.h b/cpp/bindings/qpid/dotnet/src/Session.h
index e07725247b..18dc09fb33 100644
--- a/cpp/bindings/qpid/dotnet/src/Session.h
+++ b/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(); }
}