Ice 3.7 C++11 API Reference
|
The base class for servants. More...
#include <Ice/Ice.h>
Classes | |
struct | Ice_invokeResult |
Holds the results of a call to ice_invoke. More... | |
Public Member Functions | |
virtual bool | ice_dispatch (Ice::Request &request, std::function< bool()> response=nullptr, std::function< bool(std::exception_ptr)> error=nullptr) |
Dispatches an invocation to a servant. More... | |
virtual std::string | ice_id (const Current ¤t) const |
Returns the Slice type ID of the most-derived interface supported by this object. More... | |
virtual std::vector< std::string > | ice_ids (const Current ¤t) const |
Returns the Slice type IDs of the interfaces supported by this object. More... | |
virtual bool | ice_isA (std::string s, const Current ¤t) const |
Tests whether this object supports a specific Slice interface. More... | |
virtual void | ice_ping (const Current ¤t) const |
Tests whether this object can be reached. More... | |
virtual | ~Object ()=default |
Static Public Member Functions | |
static const std::string & | ice_staticId () |
Obtains the Slice type ID of this type. More... | |
The base class for servants.
|
virtualdefault |
|
virtual |
Dispatches an invocation to a servant.
This method is used by dispatch interceptors to forward an invocation to a servant (or to another interceptor).
request | The details of the invocation. |
response | A function that should return true if Ice should send the response to the client. A null value is equivalent to a function that returns true. |
error | A function that should return true if Ice should send the exception to the client. A null value is equivalent to a function that returns true. |
UserException | A user exception that propagates out of this method will be marshaled as the result. |
|
virtual |
Returns the Slice type ID of the most-derived interface supported by this object.
current | The Current object for the invocation. |
Reimplemented in Ice::RouterFinder, Ice::Router, Ice::LoggerAdmin, Ice::RemoteLogger, Ice::PropertiesAdmin, Ice::Process, Ice::LocatorFinder, Ice::LocatorRegistry, and Ice::Locator.
|
virtual |
Returns the Slice type IDs of the interfaces supported by this object.
current | The Current object for the invocation. |
Reimplemented in Ice::RouterFinder, Ice::Router, Ice::LoggerAdmin, Ice::RemoteLogger, Ice::PropertiesAdmin, Ice::Process, Ice::LocatorFinder, Ice::LocatorRegistry, and Ice::Locator.
|
virtual |
Tests whether this object supports a specific Slice interface.
s | The type ID of the Slice interface to test against. |
current | The Current object for the invocation. |
|
virtual |
Tests whether this object can be reached.
current | The Current object for the invocation. |
|
static |
Obtains the Slice type ID of this type.