#include <ConsRegMessage.h>
Public Types | |
enum | STATUS_CODES { ES_NOT_READY = 0x10000 } |
Public Member Functions | |
uint32 | bufferSize () const |
ConsRegResponseBuilder (void *buf, uint32 bufSize, uint32 status, uint32 consumerId) | |
void | setStreamSelectionTable (std::map< std::string, Strings > const &selTable) |
uint32 | size () const |
uint8 * | startAddress () |
Private Attributes | |
uint8 * | buf_ |
uint32 | bufSize_ |
Definition at line 57 of file ConsRegMessage.h.
ConsRegResponseBuilder::ConsRegResponseBuilder | ( | void * | buf, |
uint32 | bufSize, | ||
uint32 | status, | ||
uint32 | consumerId | ||
) |
Constructor for the consumer registration response builder.
Definition at line 105 of file ConsRegMessage.cc.
References buf_, bufSize_, Header::CONS_REG_RESPONSE, and fileCollector::convert().
|
inline |
void ConsRegResponseBuilder::setStreamSelectionTable | ( | std::map< std::string, Strings > const & | selTable | ) |
Sets the stream selection table (map of trigger selections for each storage manager output stream) in the response.
Definition at line 142 of file ConsRegMessage.cc.
References buf_, bufSize_, Header::CONS_REG_RESPONSE, fileCollector::convert(), MsgTools::fillNames(), and size().
uint32 ConsRegResponseBuilder::size | ( | void | ) | const |
Returns the size of the consumer registration response.
Definition at line 131 of file ConsRegMessage.cc.
References buf_, and HeaderView::size().
Referenced by setStreamSelectionTable().
|
inline |
|
private |
Definition at line 72 of file ConsRegMessage.h.
Referenced by ConsRegResponseBuilder(), setStreamSelectionTable(), size(), and startAddress().
|
private |
Definition at line 73 of file ConsRegMessage.h.
Referenced by bufferSize(), ConsRegResponseBuilder(), and setStreamSelectionTable().