TAO_Flushing_Strategy Class ReferenceDefine the interface for the flushing strategy, i.e. the algorithm that controls how does the ORB flush outgoing data. More...
Inheritance diagram for TAO_Flushing_Strategy:
Detailed DescriptionDefine the interface for the flushing strategy, i.e. the algorithm that controls how does the ORB flush outgoing data.Please read the documentation in the TAO_Transport class to find out more about the design of the outgoing data path. Some applications can block the current thread whenever they are sending out data. In those cases they can obtain better performance by blocking in calls to write() than by participating in the Leader/Followers protocol to shared the ORB Reactor. This strategy controls how does the ORB schedule and cancel reactive I/O, if there is no reactive I/O the strategy is just a no-op. Member Enumeration Documentation
Constructor & Destructor Documentation
Destructor.
Member Function Documentation
Schedule the transport argument to be flushed If -2 is returned then the caller must call one of the flush_* methods. If -1 is returned then there was an error. If 0 is returned then the flush was scheduled successfully. Implemented in TAO_Block_Flushing_Strategy, TAO_Leader_Follower_Flushing_Strategy, and TAO_Reactive_Flushing_Strategy.
Cancel all scheduled output for the transport argument.
Implemented in TAO_Block_Flushing_Strategy, TAO_Leader_Follower_Flushing_Strategy, and TAO_Reactive_Flushing_Strategy.
Wait until msg is sent out. Potentially other messages are flushed too, for example, because there are ahead in the queue. Implemented in TAO_Block_Flushing_Strategy, TAO_Leader_Follower_Flushing_Strategy, and TAO_Reactive_Flushing_Strategy.
Wait until the transport has no messages queued.
Implemented in TAO_Block_Flushing_Strategy, TAO_Leader_Follower_Flushing_Strategy, and TAO_Reactive_Flushing_Strategy.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:40:12 2008 for TAO by 1.5.5 |