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

A special plug-in that installs a thread hook during a communicator's initialization. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::ThreadHookPlugin:
Collaboration diagram for Ice::ThreadHookPlugin:

Public Member Functions

virtual void destroy ()
 Not used.
virtual void initialize ()
 Not used.
 ThreadHookPlugin (const CommunicatorPtr &communicator, const ThreadNotificationPtr &hook)
 Installs the thread hooks.
Public Member Functions inherited from Ice::Plugin
virtual ~Plugin ()
Public Member Functions inherited from Ice::LocalObject
virtual bool operator< (const LocalObject &) const
virtual bool operator== (const LocalObject &) const
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

Public Types inherited from Ice::Plugin
typedef PluginPtr PointerType
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

A special plug-in that installs a thread hook during a communicator's initialization.

Both initialize and destroy are no-op. See InitializationData.

Constructor & Destructor Documentation

◆ ThreadHookPlugin()

Ice::ThreadHookPlugin::ThreadHookPlugin ( const CommunicatorPtr & communicator,
const ThreadNotificationPtr & hook )

Installs the thread hooks.

Parameters
communicatorThe communicator in which to install the thread hooks.
hookThe thread notification callback object.

Member Function Documentation

◆ destroy()

virtual void Ice::ThreadHookPlugin::destroy ( )
virtual

Not used.

Implements Ice::Plugin.

◆ initialize()

virtual void Ice::ThreadHookPlugin::initialize ( )
virtual

Not used.

Implements Ice::Plugin.


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