Qpid .NET Messaging API  0.24
 All Classes Namespaces Files Functions Variables Typedefs
Org::Apache::Qpid::Messaging::Connection Class Reference

#include <Connection.h>

Public Member Functions

 Connection (System::String^url)
 
 Connection (System::String^url, System::Collections::Generic::Dictionary< System::String^, System::Object^>^options)
 
 Connection (System::String^url, System::String^options)
 
 Connection (const Connection^connection)
 
 Connection (const Connection%connection)
 
 ~Connection ()
 
 !Connection ()
 
Connection operator= (const Connection%rhs)
 
void Open ()
 
void Close ()
 
Session CreateTransactionalSession (System::String^name)
 
Session CreateSession ()
 
Session CreateSession (System::String^name)
 
Session GetSession (System::String^name)
 

Public Attributes

property bool IsDisposed
 
property System::Boolean IsOpen
 

Constructor & Destructor Documentation

Org::Apache::Qpid::Messaging::Connection::Connection ( System::String^  url)
Org::Apache::Qpid::Messaging::Connection::Connection ( System::String^  url,
System::Collections::Generic::Dictionary< System::String^, System::Object^>^  options 
)
Org::Apache::Qpid::Messaging::Connection::Connection ( System::String^  url,
System::String^  options 
)
Org::Apache::Qpid::Messaging::Connection::Connection ( const Connection connection)
Org::Apache::Qpid::Messaging::Connection::Connection ( const Connection connection)
Org::Apache::Qpid::Messaging::Connection::~Connection ( )
Org::Apache::Qpid::Messaging::Connection::!Connection ( )

Member Function Documentation

void Org::Apache::Qpid::Messaging::Connection::Close ( )
Session Org::Apache::Qpid::Messaging::Connection::CreateSession ( )
Session Org::Apache::Qpid::Messaging::Connection::CreateSession ( System::String^  name)
Session Org::Apache::Qpid::Messaging::Connection::CreateTransactionalSession ( System::String^  name)
Session Org::Apache::Qpid::Messaging::Connection::GetSession ( System::String^  name)
void Org::Apache::Qpid::Messaging::Connection::Open ( )
Connection Org::Apache::Qpid::Messaging::Connection::operator= ( const Connection rhs)
inline

Member Data Documentation

property bool Org::Apache::Qpid::Messaging::Connection::IsDisposed
Initial value:
{
bool get()
{
return NULL == nativeObjPtr;
}
}
property ::qpid::messaging::Connection * NativeConnection
{
::qpid::messaging::Connection * get ()
{
return nativeObjPtr;
}
}
void SetOption(System::String ^ name, System::Object ^ value)
property System::Boolean Org::Apache::Qpid::Messaging::Connection::IsOpen
Initial value:
{
System::Boolean get ()
{
msclr::lock lk(privateLock);
ThrowIfDisposed();
return nativeObjPtr->isOpen();
}
}

The documentation for this class was generated from the following files: