#include <IOPool/Streamer/interface/OtherMessage.h>
Public Member Functions | |
uint32 | bodySize () const |
uint32 | code () const |
uint8 * | msgBody () const |
OtherMessageView (void *buf) | |
uint32 | size () const |
uint8 * | startAddress () |
Private Attributes | |
uint8 * | buf_ |
Header * | head_ |
uint8 * | msg_body_start_ |
Definition at line 41 of file OtherMessage.h.
OtherMessageView::OtherMessageView | ( | void * | buf | ) | [inline] |
Definition at line 47 of file OtherMessage.h.
References buf_, and msg_body_start_.
00047 : 00048 buf_((uint8*)buf), 00049 head_((Header*)buf) 00050 { 00051 msg_body_start_ = buf_ + sizeof(Header); 00052 }
uint32 OtherMessageView::bodySize | ( | ) | const [inline] |
Definition at line 58 of file OtherMessage.h.
References buf_, convert32(), head_, msg_body_start_, and Header::size_.
Referenced by stor::StorageManager::eventdataWebPage(), and stor::DataProcessManager::getHeaderFromSM().
00058 { 00059 return convert32(head_->size_) - (msg_body_start_ - buf_); 00060 }
Definition at line 54 of file OtherMessage.h.
References Header::code_, and head_.
Referenced by stor::StorageManager::DQMeventdataWebPage(), stor::SMProxyServer::DQMeventdataWebPage(), stor::SMProxyServer::eventdataWebPage(), stor::StorageManager::eventdataWebPage(), stor::DataProcessManager::getOneDQMEventFromSM(), stor::DataProcessManager::getOneEventFromSM(), stor::StorageManager::headerdataWebPage(), and stor::SMProxyServer::headerdataWebPage().
uint8* OtherMessageView::msgBody | ( | ) | const [inline] |
Definition at line 56 of file OtherMessage.h.
References msg_body_start_.
Referenced by stor::StorageManager::DQMeventdataWebPage(), stor::SMProxyServer::DQMeventdataWebPage(), stor::SMProxyServer::eventdataWebPage(), stor::StorageManager::eventdataWebPage(), stor::DataProcessManager::getHeaderFromSM(), stor::StorageManager::headerdataWebPage(), and stor::SMProxyServer::headerdataWebPage().
00056 {return msg_body_start_; }
uint8* OtherMessageView::startAddress | ( | ) | [inline] |
uint8* OtherMessageView::buf_ [private] |
Definition at line 63 of file OtherMessage.h.
Referenced by bodySize(), OtherMessageView(), and startAddress().
Header* OtherMessageView::head_ [private] |
uint8* OtherMessageView::msg_body_start_ [private] |
Definition at line 64 of file OtherMessage.h.
Referenced by bodySize(), msgBody(), and OtherMessageView().