#include <Sync_Strategies.h>
Inheritance diagram for TAO_Sync_Strategy:
Public Member Functions | |
virtual | ~TAO_Sync_Strategy (void) |
Destructor. | |
virtual int | must_queue (int queue_empty)=0 |
Return 1 if a message must be queued. | |
virtual int | buffering_constraints_reached (TAO_Stub *stub, size_t msg_count, size_t total_bytes, int &must_flush, const ACE_Time_Value ¤t_deadline, int &set_timer, ACE_Time_Value &interval)=0 |
Return 1 if it is time to start. |
The low-level I/O components in the ORB use this strategy to determine when messages must be queued, immediately sent or flushed.
The strategy isolates this low-level components from the higher level strategies used by the application developer.
|
Destructor.
|
|
Return 1 if it is time to start.
Implemented in TAO_Transport_Sync_Strategy, and TAO_Eager_Buffering_Sync_Strategy. |
|
Return 1 if a message must be queued.
Implemented in TAO_Transport_Sync_Strategy, TAO_Eager_Buffering_Sync_Strategy, and TAO_Delayed_Buffering_Sync_Strategy. |