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

A communicator plug-in. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::Plugin:
Collaboration diagram for Ice::Plugin:

Public Types

typedef PluginPtr PointerType

Public Member Functions

virtual void destroy ()=0
 Called when the communicator is being destroyed.
virtual void initialize ()=0
 Perform any necessary initialization steps.
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

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 communicator plug-in.

A plug-in generally adds a feature to a communicator, such as support for a protocol.

The communicator loads its plug-ins in two stages: the first stage creates the plug-ins, and the second stage invokes Plugin#initialize on each one.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~Plugin()

virtual Ice::Plugin::~Plugin ( )
virtual

Reimplemented in IceSSL::Plugin.

Member Function Documentation

◆ destroy()

virtual void Ice::Plugin::destroy ( )
pure virtual

Called when the communicator is being destroyed.

Implemented in Ice::LoggerPlugin, and Ice::ThreadHookPlugin.

◆ initialize()

virtual void Ice::Plugin::initialize ( )
pure virtual

Perform any necessary initialization steps.

Implemented in Ice::LoggerPlugin, and Ice::ThreadHookPlugin.


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