|
libmoost
|
#include <stream.hpp>
Public Types | |
| typedef boost::function< void(const std::string &)> | message_cb_t |
Public Member Functions | |
| stream (const message_cb_t &cb, stomp_client::ack::type ack_type, const boost::posix_time::time_duration &max_msg_interval) | |
| void | invoke (const std::string &message) |
| void | reset_interval_timer () |
| stomp_client::ack::type | ack_type () const |
| const boost::posix_time::time_duration & | max_msg_interval () |
| bool | max_msg_interval_exceeded () const |
Private Attributes | |
| message_cb_t | m_callback |
| boost::posix_time::ptime | m_last_invoke |
| const stomp_client::ack::type | m_ack_type |
| const boost::posix_time::time_duration | m_max_msg_interval |
Definition at line 40 of file stream.hpp.
| typedef boost::function<void (const std::string&)> moost::mq::stream::message_cb_t |
Definition at line 43 of file stream.hpp.
| moost::mq::stream::stream | ( | const message_cb_t & | cb, |
| stomp_client::ack::type | ack_type, | ||
| const boost::posix_time::time_duration & | max_msg_interval | ||
| ) | [inline] |
Definition at line 45 of file stream.hpp.
| stomp_client::ack::type moost::mq::stream::ack_type | ( | ) | const [inline] |
Definition at line 70 of file stream.hpp.
| void moost::mq::stream::invoke | ( | const std::string & | message | ) | [inline] |
| const boost::posix_time::time_duration& moost::mq::stream::max_msg_interval | ( | ) | [inline] |
Definition at line 75 of file stream.hpp.
| bool moost::mq::stream::max_msg_interval_exceeded | ( | ) | const [inline] |
Definition at line 80 of file stream.hpp.
| void moost::mq::stream::reset_interval_timer | ( | ) | [inline] |
const stomp_client::ack::type moost::mq::stream::m_ack_type [private] |
Definition at line 95 of file stream.hpp.
message_cb_t moost::mq::stream::m_callback [private] |
Definition at line 92 of file stream.hpp.
boost::posix_time::ptime moost::mq::stream::m_last_invoke [private] |
Definition at line 93 of file stream.hpp.
const boost::posix_time::time_duration moost::mq::stream::m_max_msg_interval [private] |
Definition at line 96 of file stream.hpp.