Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ finished()

virtual void Ice::ServantLocator::finished ( const Current & curr,
const ObjectPtr & servant,
const std::shared_ptr< void > & cookie )
pure virtual

Notifies this servant locator that the dispatch on the servant returned by locate is complete.

The object adapter calls this function only when locate returns a non-null servant.

Remarks
The implementation can throw any exception, including UserException. The Ice runtime marshals this exception in the response. If both the dispatch and finished throw an exception, the exception thrown by finished prevails and is marshaled back to the client.
Parameters
currInformation about the incoming request being dispatched.
servantThe servant that was returned by locate.
cookieThe cookie that was returned by locate.