Delay the buffering decision until the transport blocks. More...
#include <Messaging_Queueing_Strategies.h>


Public Member Functions | |
| virtual bool | must_queue (bool queue_empty) const |
| Return true if a message must be queued. | |
Delay the buffering decision until the transport blocks.
If the queue is empty the transport will try to send immediately.
Definition at line 89 of file Messaging_Queueing_Strategies.h.
| bool TAO::Delayed_Transport_Queueing_Strategy::must_queue | ( | bool | queue_empty | ) | const [virtual] |
Return true if a message must be queued.
Reimplemented from TAO::Eager_Transport_Queueing_Strategy.
Definition at line 164 of file Messaging_Queueing_Strategies.cpp.
{
// If the queue is empty we want to send immediately
return !queue_empty;
}
1.7.0