Inheritance diagram for code::LBActionSource::LBEvent:
The ActionSource contained is therefore a LBActionSource.
Public Member Functions | |
LBEvent (LBActionSource *s, const std::string &typ, LB_id_t mid, int mlen) | |
This constructor is called only by the LBActionSource which owns this object. | |
ActionSource * | getSource () const |
Returns a pointer to the object that generated this ActionEvent. | |
const std::string & | getType () const |
Returns a source-specific type identifier to indicate what action occurred. | |
Public Attributes | |
LB_id_t | msg_id |
The id of the message (new/expired). | |
int | msg_len |
The length of the new message. | |
Static Public Attributes | |
static const std::string | NewMessage |
Event type: NewMessage. | |
static const std::string | MsgExpired |
Event type: MsgExpired. |
code::LBActionSource::LBEvent::LBEvent | ( | LBActionSource * | s, | |
const std::string & | typ, | |||
LB_id_t | mid, | |||
int | mlen | |||
) | [inline] |
This constructor is called only by the LBActionSource which owns this object.
ActionSource* code::ActionEvent::getSource | ( | ) | const [inline, inherited] |
Returns a pointer to the object that generated this ActionEvent.
const std::string& code::ActionEvent::getType | ( | ) | const [inline, inherited] |
Returns a source-specific type identifier to indicate what action occurred.
The id of the message (new/expired).
The length of the new message.
For expired messages, it is always zero.
const std::string code::LBActionSource::LBEvent::MsgExpired [static] |
Event type: MsgExpired.
Posted when a message is aged off the LB
const std::string code::LBActionSource::LBEvent::NewMessage [static] |
Event type: NewMessage.
Posted when a new message is added to the LB.