diff options
| author | Ted Ross <tross@apache.org> | 2010-06-09 11:59:38 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-06-09 11:59:38 +0000 |
| commit | 077b8b25ab7fac22daf8494feb125cd5c73b95ac (patch) | |
| tree | f0f2d8b17c7ef912d16d3110bc18790006bbd87a /cpp/bindings/qpid/dotnet/src/Address.h | |
| parent | b6b344dccb18ed44500232e492573244b8a6bdf3 (diff) | |
| download | qpid-python-077b8b25ab7fac22daf8494feb125cd5c73b95ac.tar.gz | |
QPID-2589 Cleanup pass to address function naming, capitalization rules, change Qpid messaging 'list' representation from List<> to Collection<>,
some exception cleanup.
Patch from Chuck Rolke
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952968 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qpid/dotnet/src/Address.h')
| -rw-r--r-- | cpp/bindings/qpid/dotnet/src/Address.h | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/cpp/bindings/qpid/dotnet/src/Address.h b/cpp/bindings/qpid/dotnet/src/Address.h index 72eed76eb0..60e24da2f0 100644 --- a/cpp/bindings/qpid/dotnet/src/Address.h +++ b/cpp/bindings/qpid/dotnet/src/Address.h @@ -27,11 +27,10 @@ #include "qpid/messaging/Address.h"
-
-namespace org {
-namespace apache {
-namespace qpid {
-namespace messaging {
+namespace Org {
+namespace Apache {
+namespace Qpid {
+namespace Messaging {
/// <summary>
/// Address is a managed wrapper for a qpid::messaging::Address
@@ -43,10 +42,10 @@ namespace messaging { // Kept object deletion code
void Cleanup();
- public:
// The kept object in the Messaging C++ DLL
::qpid::messaging::Address * addressp;
+ public:
Address();
Address(System::String ^ address);
@@ -69,21 +68,26 @@ namespace messaging { !Address();
// Address(const Address % rhs);
- System::String ^ getName();
- void setName(System::String ^ name);
+ property ::qpid::messaging::Address * NativeAddress
+ {
+ ::qpid::messaging::Address * get () { return addressp; }
+ }
+
+ System::String ^ GetName();
+ void SetName(System::String ^ name);
- System::String ^ getSubject();
- void setSubject(System::String ^ subject);
+ System::String ^ GetSubject();
+ void SetSubject(System::String ^ subject);
System::Collections::Generic::Dictionary<
- System::String ^, System::Object ^> ^ getOptions();
+ System::String ^, System::Object ^> ^ GetOptions();
- void setOptions(System::Collections::Generic::Dictionary<
+ void SetOptions(System::Collections::Generic::Dictionary<
System::String ^, System::Object ^> ^ options);
- System::String ^ getType();
- void setType(System::String ^ type);
+ System::String ^ GetType();
+ void SetType(System::String ^ type);
- System::String ^ str();
+ System::String ^ ToStr();
};
}}}}
|
