Ice 3.7 C++11 API Reference
Public Member Functions | List of all members
Ice::ThreadNotification Class Referenceabstract

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

#include <Ice/Ice.h>

Inheritance diagram for Ice::ThreadNotification:
Inheritance graph
[legend]
Collaboration diagram for Ice::ThreadNotification:
Collaboration graph
[legend]

Public Member Functions

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