diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-28 18:47:39 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-28 18:47:39 +0000 |
commit | a066bf40e41a48c94ebca29d38fe1d37f57bc25b (patch) | |
tree | a4f41f18ff7f8ba5bf157958455e08314f155ca9 /TAO/tao/Block_Flushing_Strategy.h | |
parent | 24f9315081ebacc6ca3a542bf731ba096d5b387c (diff) | |
download | ATCD-a066bf40e41a48c94ebca29d38fe1d37f57bc25b.tar.gz |
ChangeLogTag:Wed Mar 28 10:42:12 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/Block_Flushing_Strategy.h')
-rw-r--r-- | TAO/tao/Block_Flushing_Strategy.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/TAO/tao/Block_Flushing_Strategy.h b/TAO/tao/Block_Flushing_Strategy.h new file mode 100644 index 00000000000..82af3a0cd3e --- /dev/null +++ b/TAO/tao/Block_Flushing_Strategy.h @@ -0,0 +1,38 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Block_Flushing_Strategy.h + * + * $Id$ + * + * @author Carlos O'Ryan <coryan@uci.edu> + */ +//============================================================================= + +#ifndef TAO_BLOCK_FLUSHING_STRATEGY_H +#define TAO_BLOCK_FLUSHING_STRATEGY_H +#include "ace/pre.h" + +#include "Flushing_Strategy.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +/** + * @class TAO_Block_Flushing_Strategy + * + * @brief Implement a flushing strategy that blocks on write to flush + */ +class TAO_Export TAO_Block_Flushing_Strategy : public TAO_Flushing_Strategy +{ +public: + virtual int schedule_output (TAO_Transport *transport); + virtual int cancel_output (TAO_Transport *transport); + virtual int flush_message (TAO_Transport *transport, + TAO_Queued_Message *msg); +}; + +#include "ace/post.h" +#endif /* TAO_BLOCK_FLUSHING_STRATEGY_H */ |