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

Message is a managed wrapper for a ::qpid::messaging::Message More...

#include <Message.h>

Public Member Functions

 Message ()
 
 Message (System::String^theStr)
 
 Message (System::Object^theValue)
 
 Message (array< System::Byte >^bytes)
 
 Message (array< System::Byte >^bytes, int offset, int size)
 
 ~Message ()
 
 !Message ()
 
 Message (const Message^message)
 
 Message (const Message%message)
 
 Message (const ::qpid::messaging::Message &msgp)
 
Message operator= (const Message%rhs)
 
void SetContent (cli::array< System::Byte >^bytes)
 
void SetContent (cli::array< System::Byte >^bytes, int offset, int size)
 
System::String GetContent ()
 
void GetContent (System::Collections::Generic::Dictionary< System::String^, System::Object^>^dict)
 
void GetContent (System::Collections::ObjectModel::Collection< System::Object^>^)
 
void GetContent (cli::array< System::Byte >^arr)
 
System::String MapAsString (System::Collections::Generic::Dictionary< System::String^, System::Object^>^dict)
 
System::String ListAsString (System::Collections::ObjectModel::Collection< System::Object^>^list)
 A function to display a ampq/list message packaged as a List. More...
 

Public Attributes

property bool IsDisposed
 
property
System::Collections::Generic::Dictionary
< System::String^,
System::Object^> 
Properties
 
property System::UInt64 ContentSize
 

Detailed Description

Message is a managed wrapper for a ::qpid::messaging::Message

Constructor & Destructor Documentation

Org::Apache::Qpid::Messaging::Message::Message ( )
Org::Apache::Qpid::Messaging::Message::Message ( System::String^  theStr)
Org::Apache::Qpid::Messaging::Message::Message ( System::Object^  theValue)
Org::Apache::Qpid::Messaging::Message::Message ( array< System::Byte >^  bytes)
Org::Apache::Qpid::Messaging::Message::Message ( array< System::Byte >^  bytes,
int  offset,
int  size 
)
Org::Apache::Qpid::Messaging::Message::~Message ( )
Org::Apache::Qpid::Messaging::Message::!Message ( )
Org::Apache::Qpid::Messaging::Message::Message ( const Message message)
Org::Apache::Qpid::Messaging::Message::Message ( const Message message)
Org::Apache::Qpid::Messaging::Message::Message ( const ::qpid::messaging::Message &  msgp)

Member Function Documentation

System::String Org::Apache::Qpid::Messaging::Message::GetContent ( )
void Org::Apache::Qpid::Messaging::Message::GetContent ( System::Collections::Generic::Dictionary< System::String^, System::Object^>^  dict)
void Org::Apache::Qpid::Messaging::Message::GetContent ( System::Collections::ObjectModel::Collection< System::Object^>^  list)
void Org::Apache::Qpid::Messaging::Message::GetContent ( cli::array< System::Byte >^  arr)
System::String Org::Apache::Qpid::Messaging::Message::ListAsString ( System::Collections::ObjectModel::Collection< System::Object^>^  list)

A function to display a ampq/list message packaged as a List.

Parameters
listThe AMQP list
System::String Org::Apache::Qpid::Messaging::Message::MapAsString ( System::Collections::Generic::Dictionary< System::String^, System::Object^>^  dict)
Message Org::Apache::Qpid::Messaging::Message::operator= ( const Message rhs)
inline
void Org::Apache::Qpid::Messaging::Message::SetContent ( cli::array< System::Byte >^  bytes)
void Org::Apache::Qpid::Messaging::Message::SetContent ( cli::array< System::Byte >^  bytes,
int  offset,
int  size 
)

Member Data Documentation

property System::UInt64 Org::Apache::Qpid::Messaging::Message::ContentSize
Initial value:
{
System::UInt64 get ()
{
msclr::lock lk(privateLock);
ThrowIfDisposed();
return nativeObjPtr->getContentSize();
}
}
System::String ^ AsString(System::Object ^ obj)
property bool Org::Apache::Qpid::Messaging::Message::IsDisposed
property System::Collections::Generic::Dictionary< System::String^, System::Object^> Org::Apache::Qpid::Messaging::Message::Properties

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