Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
Ice::Dispatcher Class Referenceabstract

Base class for a dispatcher. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::Dispatcher:
Collaboration diagram for Ice::Dispatcher:

Public Member Functions

virtual void dispatch (const DispatcherCallPtr &call, const ConnectionPtr &connection)=0
 Called by the Ice run time when an incoming request or an AMI callback needs to be dispatched.
virtual ~Dispatcher ()
Public Member Functions inherited from IceUtil::Shared
void __clearFlag (unsigned char flag)
virtual void __decRef ()
virtual int __getRef () const
bool __hasFlag (unsigned char flag)
virtual void __incRef ()
void __setFlag (unsigned char flag)
virtual void __setNoDelete (bool)
Sharedoperator= (const Shared &)
 Shared ()
 Shared (const Shared &)
virtual ~Shared ()

Additional Inherited Members

Static Public Attributes inherited from IceUtil::Shared
static const unsigned char NoDelete
Protected Attributes inherited from IceUtil::Shared
unsigned char _flags
IceUtilInternal::Atomic _ref

Detailed Description

Base class for a dispatcher.

A subclass must define the dispatch method. The dispatcher can be installed via InitializationData.

Constructor & Destructor Documentation

◆ ~Dispatcher()

virtual Ice::Dispatcher::~Dispatcher ( )
virtual

Member Function Documentation

◆ dispatch()

virtual void Ice::Dispatcher::dispatch ( const DispatcherCallPtr & call,
const ConnectionPtr & connection )
pure virtual

Called by the Ice run time when an incoming request or an AMI callback needs to be dispatched.

The implementation must eventually invoke run on the call object.

Parameters
callAn object representing the call that must be dispatched.
connectionThe connection object associated with the call, or nil if no connection is associated with the call.

The documentation for this class was generated from the following file: