TAO::First_Request_Guard Class Reference

Auto pointer like class for first_request flag in transport. More...

Collaboration diagram for TAO::First_Request_Guard:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 First_Request_Guard (TAO_Transport &transport)
 ~First_Request_Guard (void)

Private Attributes

TAO_Transporttransport_
 The transport that we guard.
bool is_first_
 Original value of first_request from transport.


Detailed Description

Auto pointer like class for first_request flag in transport.

Since codeset service context is only sent in the first request it might happen that after LocateRequest (which doesn't include service context) no codeset negotiation happens in subsequent calls. In this respect LocateRequest is not the first request and thus First_Request_Guard restores first_request in transport to its original state.


Constructor & Destructor Documentation

TAO::First_Request_Guard::First_Request_Guard ( TAO_Transport transport  ) 

TAO::First_Request_Guard::~First_Request_Guard ( void   ) 


Member Data Documentation

bool TAO::First_Request_Guard::is_first_ [private]

Original value of first_request from transport.

TAO_Transport& TAO::First_Request_Guard::transport_ [private]

The transport that we guard.


The documentation for this class was generated from the following file:

Generated on Mon Jul 13 16:28:16 2009 for TAO by  doxygen 1.5.8