LF_Connect_Strategy.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file LF_Connect_Strategy.h
00006  *
00007  *  $Id: LF_Connect_Strategy.h 76687 2007-01-29 19:18:13Z johnnyw $
00008  *
00009  *  @author Balachandran Natarajan <bala@cs.wustl.edu>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_LF_CONNECT_STRATEGY_H
00014 #define TAO_LF_CONNECT_STRATEGY_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/Connect_Strategy.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00025 class ACE_Time_Value;
00026 class ACE_Synch_Options;
00027 ACE_END_VERSIONED_NAMESPACE_DECL
00028 
00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00030 
00031 class TAO_LF_Event;
00032 
00033 /**
00034  * @class TAO_LF_Connect_Strategy
00035  *
00036  * @brief Concrete implementation of a connect strategy that waits on
00037  *  the leader-follower during asynch connects
00038  */
00039 
00040 class TAO_Export TAO_LF_Connect_Strategy : public TAO_Connect_Strategy
00041 {
00042 public:
00043   /// Constructor
00044   TAO_LF_Connect_Strategy (TAO_ORB_Core *orb);
00045 
00046   /// Destructor
00047   ~TAO_LF_Connect_Strategy (void);
00048 
00049   /*
00050    * Concrete implementation for this class. Please see
00051    * Connect_Strategy.h for details
00052    */
00053   virtual void synch_options (ACE_Time_Value *val, ACE_Synch_Options &opt);
00054 
00055 protected:
00056   virtual int wait_i (TAO_LF_Event *ev, TAO_Transport *t, ACE_Time_Value *val);
00057 
00058 };
00059 
00060 TAO_END_VERSIONED_NAMESPACE_DECL
00061 
00062 #include /**/ "ace/post.h"
00063 
00064 #endif /*TAO_LF_CONNECT_STRATEGY_H*/

Generated on Tue Feb 2 17:37:52 2010 for TAO by  doxygen 1.4.7