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

#include <Session.h>

Collaboration diagram for Org::Apache::Qpid::Messaging::Session:

Public Member Functions

 Session (const ::qpid::messaging::Session &nativeObjPtr, Connection^connRef)
 
 Session (const Session^session)
 
 Session (const Session%session)
 
 ~Session ()
 
 !Session ()
 
Session operator= (const Session%rhs)
 
void Commit ()
 
void Rollback ()
 
void Acknowledge ()
 
void Acknowledge (bool sync)
 
void Acknowledge (Message^message)
 
void Acknowledge (Message^message, bool sync)
 
void AcknowledgeUpTo (Message^message)
 
void AcknowledgeUpTo (Message^message, bool sync)
 
void Reject (Message^)
 
void Release (Message^)
 
void Sync ()
 
void Sync (bool block)
 
bool NextReceiver (Receiver^rcvr, Duration^timeout)
 
Receiver NextReceiver ()
 
Receiver NextReceiver (Duration^timeout)
 
Sender CreateSender (System::String^address)
 
Sender CreateSender (Address^address)
 
Receiver CreateReceiver (System::String^address)
 
Receiver CreateReceiver (Address^address)
 
Sender GetSender (System::String^name)
 
Receiver GetReceiver (System::String^name)
 

Public Attributes

property bool IsDisposed
 
property System::UInt32 Receivable
 
property
Org::Apache::Qpid::Messaging::Connection 
Connection
 

Constructor & Destructor Documentation

Org::Apache::Qpid::Messaging::Session::Session ( const ::qpid::messaging::Session &  nativeObjPtr,
Connection connRef 
)
Org::Apache::Qpid::Messaging::Session::Session ( const Session session)
Org::Apache::Qpid::Messaging::Session::Session ( const Session session)
Org::Apache::Qpid::Messaging::Session::~Session ( )
Org::Apache::Qpid::Messaging::Session::!Session ( )

Member Function Documentation

void Org::Apache::Qpid::Messaging::Session::Acknowledge ( )
void Org::Apache::Qpid::Messaging::Session::Acknowledge ( bool  sync)
void Org::Apache::Qpid::Messaging::Session::Acknowledge ( Message message)
void Org::Apache::Qpid::Messaging::Session::Acknowledge ( Message message,
bool  sync 
)
void Org::Apache::Qpid::Messaging::Session::AcknowledgeUpTo ( Message message)
void Org::Apache::Qpid::Messaging::Session::AcknowledgeUpTo ( Message message,
bool  sync 
)
void Org::Apache::Qpid::Messaging::Session::Commit ( )
Receiver Org::Apache::Qpid::Messaging::Session::CreateReceiver ( System::String^  address)
Receiver Org::Apache::Qpid::Messaging::Session::CreateReceiver ( Address address)
Sender Org::Apache::Qpid::Messaging::Session::CreateSender ( System::String^  address)
Sender Org::Apache::Qpid::Messaging::Session::CreateSender ( Address address)
Receiver Org::Apache::Qpid::Messaging::Session::GetReceiver ( System::String^  name)
Sender Org::Apache::Qpid::Messaging::Session::GetSender ( System::String^  name)
bool Org::Apache::Qpid::Messaging::Session::NextReceiver ( Receiver rcvr,
Duration^  timeout 
)
Receiver Org::Apache::Qpid::Messaging::Session::NextReceiver ( )
Receiver Org::Apache::Qpid::Messaging::Session::NextReceiver ( Duration^  timeout)
Session Org::Apache::Qpid::Messaging::Session::operator= ( const Session rhs)
inline
void Org::Apache::Qpid::Messaging::Session::Reject ( Message message)
void Org::Apache::Qpid::Messaging::Session::Release ( Message message)
void Org::Apache::Qpid::Messaging::Session::Rollback ( )
void Org::Apache::Qpid::Messaging::Session::Sync ( )
void Org::Apache::Qpid::Messaging::Session::Sync ( bool  block)

Member Data Documentation

property Org::Apache::Qpid::Messaging::Connection Org::Apache::Qpid::Messaging::Session::Connection
Initial value:
{
{
msclr::lock lk(privateLock);
ThrowIfDisposed();
return parentConnectionp;
}
}
property System::Boolean HasError
{
System::Boolean get ()
{
msclr::lock lk(privateLock);
ThrowIfDisposed();
return nativeObjPtr->hasError();
}
}
void CheckError()
property bool Org::Apache::Qpid::Messaging::Session::IsDisposed
Initial value:
{
bool get()
{
return NULL == nativeObjPtr;
}
}
property ::qpid::messaging::Session * NativeSession
{
::qpid::messaging::Session * get ()
{
return nativeObjPtr;
}
}
void Close()
property System::UInt32 Org::Apache::Qpid::Messaging::Session::Receivable
Initial value:
{
System::UInt32 get ()
{
msclr::lock lk(privateLock);
ThrowIfDisposed();
return nativeObjPtr->getReceivable();
}
}
property System::UInt32 UnsettledAcks
{
System::UInt32 get ()
{
msclr::lock lk(privateLock);
ThrowIfDisposed();
return nativeObjPtr->getUnsettledAcks();
}
}
bool NextReceiver(Receiver ^ rcvr)

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