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

Blocked_Connect_Strategy.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file Blocked_Connect_Strategy.h
00006  *
00007  *  $Id: Blocked_Connect_Strategy.h,v 1.1.1.1 2003/02/21 18:36:44 chad Exp $
00008  *
00009  *  @author Balachandran Natarajan <bala@cs.wustl.edu>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_BLOCKED_CONNECT_STRATEGY_H
00014 #define TAO_BLOCKED_CONNECT_STRATEGY_H
00015 #include "ace/pre.h"
00016 
00017 #include "Connect_Strategy.h"
00018 
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 /**
00024  * @class TAO_Blocked_Connect_Strategy
00025  *
00026  * @brief Concrete implementation of a connect strategy that blocks
00027  *  during connects
00028  *
00029  */
00030 
00031 class TAO_Export TAO_Blocked_Connect_Strategy : public TAO_Connect_Strategy
00032 {
00033 public:
00034   /// Contructor
00035   TAO_Blocked_Connect_Strategy (TAO_ORB_Core *orb);
00036 
00037   /// Destructor
00038   ~TAO_Blocked_Connect_Strategy (void);
00039 
00040   /*
00041    * Concrete implementation for this class. Please see
00042    * Connect_Strategy.h for details
00043    */
00044   virtual void synch_options (ACE_Time_Value *val,
00045                               ACE_Synch_Options &opt);
00046 
00047   virtual int wait (TAO_Connection_Handler *ch,
00048                     ACE_Time_Value *val);
00049 
00050 };
00051 
00052 
00053 #include "ace/post.h"
00054 #endif /*TAO_BLOCKED_CONNECT_STRATEGY_H*/

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