You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2010/07/19 23:10:26 UTC
svn commit: r965634 - in /qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src:
Connection.h Receiver.h Session.h
Author: tross
Date: Mon Jul 19 21:10:26 2010
New Revision: 965634
URL: http://svn.apache.org/viewvc?rev=965634&view=rev
Log:
QPID-2589 - Patch from Chuck Rolke
Fixes a property misspelling and adds two missing functions.
Modified:
qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Connection.h
qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.h
qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.h
Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Connection.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Connection.h?rev=965634&r1=965633&r2=965634&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Connection.h (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Connection.h Mon Jul 19 21:10:26 2010
@@ -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());
+ }
+ }
};
}}}}
Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.h?rev=965634&r1=965633&r2=965634&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.h (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.h Mon Jul 19 21:10:26 2010
@@ -149,6 +149,17 @@ namespace Messaging {
void Close();
//
+ // IsClosed
+ //
+ property System::Boolean IsClosed
+ {
+ System::Boolean get ()
+ {
+ return receiverp->isClosed();
+ }
+ }
+
+ //
// Name
//
property System::String ^ Name
Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.h?rev=965634&r1=965633&r2=965634&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.h (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.h Mon Jul 19 21:10:26 2010
@@ -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(); }
}
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org