Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Block_Flushing_Strategy.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file Block_Flushing_Strategy.h
00006  *
00007  *  $Id: Block_Flushing_Strategy.h,v 1.1.1.1 2001/12/04 14:34:41 chad Exp $
00008  *
00009  *  @author Carlos O'Ryan <coryan@uci.edu>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_BLOCK_FLUSHING_STRATEGY_H
00014 #define TAO_BLOCK_FLUSHING_STRATEGY_H
00015 #include "ace/pre.h"
00016 
00017 #include "Flushing_Strategy.h"
00018 
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 /**
00024  * @class TAO_Block_Flushing_Strategy
00025  *
00026  * @brief Implement a flushing strategy that blocks on write to flush
00027  */
00028 class TAO_Export TAO_Block_Flushing_Strategy : public TAO_Flushing_Strategy
00029 {
00030 public:
00031   virtual int schedule_output (TAO_Transport *transport);
00032   virtual int cancel_output (TAO_Transport *transport);
00033   virtual int flush_message (TAO_Transport *transport,
00034                              TAO_Queued_Message *msg,
00035                              ACE_Time_Value *max_wait_time);
00036   virtual int flush_transport (TAO_Transport *transport);
00037 };
00038 
00039 #include "ace/post.h"
00040 #endif  /* TAO_BLOCK_FLUSHING_STRATEGY_H */

Generated on Mon Jun 16 13:48:01 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002