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

Base class for a thread notification hook. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::ThreadNotification:
Collaboration diagram for Ice::ThreadNotification:

Public Member Functions

virtual void start ()=0
 Called from the new Ice thread at startup.
virtual void stop ()=0
 Called from an Ice thread that is about to stop.
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 thread notification hook.

An application can subclass this class, implement start and stop, and install an instance in InitializationData in order to receive notifications when Ice threads are started and stopped.

Member Function Documentation

◆ start()

virtual void Ice::ThreadNotification::start ( )
pure virtual

Called from the new Ice thread at startup.

◆ stop()

virtual void Ice::ThreadNotification::stop ( )
pure virtual

Called from an Ice thread that is about to stop.


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