Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO_Wait_On_Read Class Reference

#include <Wait_On_Read.h>

Inheritance diagram for TAO_Wait_On_Read:

Inheritance graph
Collaboration diagram for TAO_Wait_On_Read:

Collaboration graph
List of all members.

Public Member Functions

 TAO_Wait_On_Read (TAO_Transport *transport)
virtual ~TAO_Wait_On_Read (void)
virtual int wait (ACE_Time_Value *max_wait_time, TAO_Synch_Reply_Dispatcher &rd)
virtual int register_handler (void)
virtual bool non_blocking (void) const
virtual bool can_process_upcalls (void) const

Detailed Description

Simply block on read() to wait for the reply.

Constructor & Destructor Documentation

TAO_Wait_On_Read::TAO_Wait_On_Read TAO_Transport transport  ) 


TAO_Wait_On_Read::~TAO_Wait_On_Read void   )  [virtual]


Member Function Documentation

bool TAO_Wait_On_Read::can_process_upcalls void   )  const [virtual]

This flag is to check whether the thread can process upcalls while waiting for the reply. Some wait strategies, like Wait_On_LF_No_Upcall does not allow the client threads to process requests while waiting for the reply.

Implements TAO_Wait_Strategy.

bool TAO_Wait_On_Read::non_blocking void   )  const [virtual]

Returns a value to indicate whether the transport needs to set the socket on which it is waiting to non-blocking mode or not.

Implements TAO_Wait_Strategy.

int TAO_Wait_On_Read::register_handler void   )  [virtual]

Register the handler needs with the reactor provided that it makes sense for the strategy.

Implements TAO_Wait_Strategy.

int TAO_Wait_On_Read::wait ACE_Time_Value max_wait_time,
TAO_Synch_Reply_Dispatcher rd

Base class virtual method. Wait till the reply_received flag is true or the time expires.

Implements TAO_Wait_Strategy.

The documentation for this class was generated from the following files:
Generated on Sat Aug 6 03:19:39 2005 for TAO by  doxygen