diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/bindings/qpid/dotnet/src/Connection.h | 8 | ||||
-rw-r--r-- | cpp/bindings/qpid/dotnet/src/Receiver.h | 11 | ||||
-rw-r--r-- | cpp/bindings/qpid/dotnet/src/Session.h | 2 |
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(); }
}
|