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/Session.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/Session.h')
| -rw-r--r-- | cpp/bindings/qpid/dotnet/src/Session.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/cpp/bindings/qpid/dotnet/src/Session.h b/cpp/bindings/qpid/dotnet/src/Session.h index 3212f050c1..babb99d30e 100644 --- a/cpp/bindings/qpid/dotnet/src/Session.h +++ b/cpp/bindings/qpid/dotnet/src/Session.h @@ -36,10 +36,10 @@ namespace messaging { class SessionImpl {};
}}
-namespace org {
-namespace apache {
-namespace qpid {
-namespace messaging {
+namespace Org {
+namespace Apache {
+namespace Qpid {
+namespace Messaging {
/// <summary>
/// Session is a managed wrapper for a ::qpid::messaging::Session
@@ -70,15 +70,15 @@ namespace messaging { !Session();
Session(const Session % rhs);
- void close();
- void commit();
- void rollback();
- void acknowledge();
- void acknowledge(bool sync);
- void reject(Message ^);
- void release(Message ^);
- void sync();
- void sync(bool block);
+ void Close();
+ void Commit();
+ void Rollback();
+ void Acknowledge();
+ void Acknowledge(bool sync);
+ void Reject(Message ^);
+ void Release(Message ^);
+ void Sync();
+ void Sync(bool block);
property System::UInt32 Receivable
{
@@ -91,28 +91,28 @@ namespace messaging { }
// next(receiver)
- bool nextReceiver(Receiver ^);
- bool nextReceiver(Receiver ^, Duration ^ timeout);
+ bool NextReceiver(Receiver ^ rcvr);
+ bool NextReceiver(Receiver ^ rcvr, Duration ^ timeout);
// receiver = next()
- Receiver ^ nextReceiver();
- Receiver ^ nextReceiver(Duration ^ timeout);
+ Receiver ^ NextReceiver();
+ Receiver ^ NextReceiver(Duration ^ timeout);
- Sender ^ createSender (System::String ^ address);
- Receiver ^ createReceiver(System::String ^ address);
- Receiver ^ createReceiver();
+ Sender ^ CreateSender (System::String ^ address);
+ Receiver ^ CreateReceiver(System::String ^ address);
+ Receiver ^ CreateReceiver();
- Sender ^ getSender(System::String ^ name);
- Receiver ^ getReceiver(System::String ^ name);
+ Sender ^ GetSender(System::String ^ name);
+ Receiver ^ GetReceiver(System::String ^ name);
- Connection ^ getConnection();
+ Connection ^ GetConnection();
property System::Boolean HasError
{
System::Boolean get () { return sessionp->hasError(); }
}
- void checkError();
+ void CheckError();
};
}}}}
|
