|
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. | |
| virtual std::string | ice_id (const Current ¤t) const |
| Returns the Slice type ID of the most-derived interface supported by this object. | |
| virtual std::vector< std::string > | ice_ids (const Current ¤t) const |
| Returns the Slice type IDs of the interfaces supported by this object. | |
| virtual bool | ice_isA (std::string s, const Current ¤t) const |
| Tests whether this object supports a specific Slice interface. | |
| virtual void | ice_ping (const Current ¤t) const |
| Tests whether this object can be reached. | |
| virtual | ~Object ()=default |
Static Public Member Functions | |
| static const std::string & | ice_staticId () |
| Obtains the Slice type ID of this type. | |
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::Locator, Ice::LocatorFinder, Ice::LocatorRegistry, Ice::LoggerAdmin, Ice::Process, Ice::PropertiesAdmin, Ice::RemoteLogger, Ice::Router, and Ice::RouterFinder.
|
virtual |
Returns the Slice type IDs of the interfaces supported by this object.
| current | The Current object for the invocation. |
Reimplemented in Ice::Locator, Ice::LocatorFinder, Ice::LocatorRegistry, Ice::LoggerAdmin, Ice::Process, Ice::PropertiesAdmin, Ice::RemoteLogger, Ice::Router, and Ice::RouterFinder.
|
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.