|
Ice 3.7 C++11 API Reference
|
Base class for a dispatch interceptor, which is a servant that dispatches requests to another servant. More...
#include <Ice/Ice.h>


Public Member Functions | |
| virtual bool | dispatch (Request &req)=0 |
| Called by the Ice run time when a new request needs to be dispatched. | |
| Public Member Functions inherited from Ice::Object | |
| 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 |
Additional Inherited Members | |
| Static Public Member Functions inherited from Ice::Object | |
| static const std::string & | ice_staticId () |
| Obtains the Slice type ID of this type. | |
Base class for a dispatch interceptor, which is a servant that dispatches requests to another servant.
A subclass must implement the dispatch method. A dispatch interceptor can be registered with an object adapter just like any other servant.
|
pure virtual |
Called by the Ice run time when a new request needs to be dispatched.
The implementation must eventually call ice_dispatch on the delegate servant and pass the given request object.
| req | An opaque object representing the request to be dispatched. |