TAO  2.4.2
Public Member Functions | List of all members
TAO_Wait_On_Reactor Class Reference

#include <Wait_On_Reactor.h>

Inheritance diagram for TAO_Wait_On_Reactor:
Inheritance graph
Collaboration diagram for TAO_Wait_On_Reactor:
Collaboration graph

Public Member Functions

 TAO_Wait_On_Reactor (TAO_Transport *transport)
 Constructor. More...
virtual ~TAO_Wait_On_Reactor (void)
 Destructor. More...
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
- Public Member Functions inherited from TAO_Wait_Strategy
 TAO_Wait_Strategy (TAO_Transport *transport)
 Constructor. More...
virtual ~TAO_Wait_Strategy (void)
 Destructor. More...
virtual int sending_request (TAO_ORB_Core *orb_core, TAO_Message_Semantics msg_semantics)
virtual void finished_request ()
virtual int defer_upcall (ACE_Event_Handler *)
bool is_registered (void) const
 Get method for the flag. More...
void is_registered (bool flag)
 Set method for the flag. More...

Additional Inherited Members

- Protected Attributes inherited from TAO_Wait_Strategy
 Transport object. More...
bool is_registered_

Detailed Description

Wait on the Reactor. Happens in a single threaded client environment.

Constructor & Destructor Documentation

TAO_Wait_On_Reactor::TAO_Wait_On_Reactor ( TAO_Transport transport)


TAO_Wait_On_Reactor::~TAO_Wait_On_Reactor ( void  )


Member Function Documentation

bool TAO_Wait_On_Reactor::can_process_upcalls ( void  ) const

Flag that indicates whether we can process requests while waiting for the reply. 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_Reactor::non_blocking ( void  ) const

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_Reactor::register_handler ( void  )

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

Implements TAO_Wait_Strategy.

int TAO_Wait_On_Reactor::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: