Auto pointer like class for first_request flag in transport. More...
|First_Request_Guard (TAO_Transport &transport)|
|The transport that we guard. |
|Original value of first_request from transport. |
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.
Original value of first_request from transport.
The transport that we guard.