cMsg Messaging System  5.2
 All Classes Namespaces Files Functions Variables Friends
cmsg::cMsgSubscriptionConfig Class Reference

Manages subscriptions configurations. More...

#include <cMsg.hxx>

Public Member Functions

 cMsgSubscriptionConfig (void)
 Constructor creates empty subscription config. More...
 
virtual ~cMsgSubscriptionConfig (void)
 Deletes subscription config. More...
 
virtual int getMaxCueSize (void) const
 Gets max cue size. More...
 
virtual void setMaxCueSize (int size)
 Sets max cue size. More...
 
virtual int getSkipSize (void) const
 Gets skip size. More...
 
virtual void setSkipSize (int size)
 Sets skip size. More...
 
virtual bool getMaySkip (void) const
 True if may skip messages upon overflow. More...
 
virtual void setMaySkip (bool maySkip)
 Sets message skip permission. More...
 
virtual bool getMustSerialize (void) const
 Gets must serialize flag. More...
 
virtual void setMustSerialize (bool mustSerialize)
 Sets must serialize flag. More...
 
virtual int getMaxThreads (void) const
 Gets max callback threads. More...
 
virtual void setMaxThreads (int max)
 Sets max callback threads. More...
 
virtual int getMessagesPerThread (void) const
 Gets max messages per thread. More...
 
virtual void setMessagesPerThread (int mpt)
 Sets max messages per thread. More...
 
virtual size_t getStackSize (void) const
 Gets message stack size. More...
 
virtual void setStackSize (size_t size)
 Sets message stack size. More...
 

Public Attributes

cMsgSubscribeConfig * config
 Pointer to subscription config struct. More...
 

Detailed Description

Manages subscriptions configurations.

Definition at line 330 of file cMsg.hxx.

Constructor & Destructor Documentation

cMsgSubscriptionConfig::cMsgSubscriptionConfig ( void  )

Constructor creates empty subscription config.

Definition at line 1418 of file cMsgWrapper.cc.

References config.

cMsgSubscriptionConfig::~cMsgSubscriptionConfig ( void  )
virtual

Deletes subscription config.

Definition at line 1429 of file cMsgWrapper.cc.

References config.

Member Function Documentation

int cMsgSubscriptionConfig::getMaxCueSize ( void  ) const
virtual

Gets max cue size.

Returns
Max cue size

Definition at line 1442 of file cMsgWrapper.cc.

References config.

int cMsgSubscriptionConfig::getMaxThreads ( void  ) const
virtual

Gets max callback threads.

Returns
Maximum number of threads

Definition at line 1554 of file cMsgWrapper.cc.

References config.

bool cMsgSubscriptionConfig::getMaySkip ( void  ) const
virtual

True if may skip messages upon overflow.

Returns
True if can skip

Definition at line 1498 of file cMsgWrapper.cc.

References config.

int cMsgSubscriptionConfig::getMessagesPerThread ( void  ) const
virtual

Gets max messages per thread.

Returns
Max messages per callback thread

Definition at line 1582 of file cMsgWrapper.cc.

References config.

bool cMsgSubscriptionConfig::getMustSerialize ( void  ) const
virtual

Gets must serialize flag.

Returns
True if must serialize

Definition at line 1526 of file cMsgWrapper.cc.

References config.

int cMsgSubscriptionConfig::getSkipSize ( void  ) const
virtual

Gets skip size.

Returns
Skip size

Definition at line 1470 of file cMsgWrapper.cc.

References config.

size_t cMsgSubscriptionConfig::getStackSize ( void  ) const
virtual

Gets message stack size.

Returns
Message stack size

Definition at line 1610 of file cMsgWrapper.cc.

References config.

void cMsgSubscriptionConfig::setMaxCueSize ( int  size)
virtual

Sets max cue size.

Parameters
sizeMax cue size

Definition at line 1457 of file cMsgWrapper.cc.

References config.

void cMsgSubscriptionConfig::setMaxThreads ( int  max)
virtual

Sets max callback threads.

Parameters
maxMax callback threads

Definition at line 1569 of file cMsgWrapper.cc.

References config.

void cMsgSubscriptionConfig::setMaySkip ( bool  maySkip)
virtual

Sets message skip permission.

Parameters
maySkipTrue if can skip messages

Definition at line 1513 of file cMsgWrapper.cc.

References config.

void cMsgSubscriptionConfig::setMessagesPerThread ( int  mpt)
virtual

Sets max messages per thread.

Parameters
mptMax messages per callback thread

Definition at line 1597 of file cMsgWrapper.cc.

References config.

void cMsgSubscriptionConfig::setMustSerialize ( bool  mustSerialize)
virtual

Sets must serialize flag.

Parameters
mustSerializeTrue if must serialize

Definition at line 1541 of file cMsgWrapper.cc.

References config.

void cMsgSubscriptionConfig::setSkipSize ( int  size)
virtual

Sets skip size.

Parameters
sizeSkip size

Definition at line 1485 of file cMsgWrapper.cc.

References config.

void cMsgSubscriptionConfig::setStackSize ( size_t  size)
virtual

Sets message stack size.

Parameters
sizeMessage stack size

Definition at line 1625 of file cMsgWrapper.cc.

References config.

Member Data Documentation


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