Public Member Functions | |
First_Request_Guard (TAO_Transport &transport) | |
~First_Request_Guard (void) | |
Private Attributes | |
TAO_Transport & | transport_ |
The transport that we guard. | |
bool | is_first_ |
Original value of first_request from 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.
TAO::First_Request_Guard::First_Request_Guard | ( | TAO_Transport & | transport | ) |
TAO::First_Request_Guard::~First_Request_Guard | ( | void | ) |
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.