Wait_On_Read.h

Go to the documentation of this file.
00001 // This may look like C, but it's really -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    Wait_On_Read.h
00006  *
00007  *  Wait_On_Read.h,v 1.10 2005/11/02 11:03:27 ossama Exp
00008  *
00009  *  @author  Alexander Babu Arulanthu <alex@cs.wustl.edu>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_WAIT_ON_READ_H
00014 #define TAO_WAIT_ON_READ_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/Wait_Strategy.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00025 
00026 /**
00027  * @class TAO_Wait_On_Read
00028  *
00029  *
00030  * Simply block on read() to wait for the reply.
00031  */
00032 class TAO_Wait_On_Read :  public TAO_Wait_Strategy
00033 {
00034 
00035 public:
00036   /// Constructor.
00037   TAO_Wait_On_Read (TAO_Transport *transport);
00038 
00039   /// Destructor.
00040   virtual ~TAO_Wait_On_Read (void);
00041 
00042   // = Documented in TAO_Wait_Strategy.
00043 
00044   virtual int wait (ACE_Time_Value *max_wait_time,
00045                     TAO_Synch_Reply_Dispatcher &rd);
00046   virtual int register_handler (void);
00047   virtual bool non_blocking (void) const;
00048   virtual bool can_process_upcalls (void) const;
00049 };
00050 
00051 TAO_END_VERSIONED_NAMESPACE_DECL
00052 
00053 #include /**/ "ace/post.h"
00054 
00055 #endif /* TAO_WAIT_ON_READ_H */

Generated on Thu Nov 9 11:54:28 2006 for TAO by doxygen 1.3.6