#include <PollCmd.H>
Public Member Functions | |
PollCmd (bool reset=true) | |
Default constructor. | |
void | set_op (const string &op) |
Sets the operation of the poll command ("req" or "ack"). | |
void | set_msgID (const string &msgID) |
Sets the msgID of the message being acknowledged. | |
string | get_op () const |
Returns the operation of the poll command. | |
string | get_msgID () const |
Returns the msgID of the message. | |
void | reset () |
reset attributes | |
Protected Attributes | |
string | _op |
Operation. | |
string | _msgID |
Message id. |
string PollCmd::get_msgID | ( | ) | const [inline] |
string PollCmd::get_op | ( | ) | const [inline] |
Returns the operation of the poll command.
References _op.
Referenced by cmd_poll().
void PollCmd::set_msgID | ( | const string & | msgID | ) | [inline] |
Sets the msgID of the message being acknowledged.
msgID | message id (just in "ack" operation) |
References _msgID.
Referenced by cmd_poll().
void PollCmd::set_op | ( | const string & | op | ) | [inline] |
Sets the operation of the poll command ("req" or "ack").
op | operation ("req" or "ack") |
References _op.
Referenced by cmd_poll().