|
Ice 3.7 C++98 API Reference
|
An application can implement this interface to receive notifications when a connection closes. More...
#include <Ice/Ice.h>


Public Types | |
| typedef CloseCallbackPtr | PointerType |
Public Member Functions | |
| virtual void | closed (const ConnectionPtr &con)=0 |
| This method is called by the connection when the connection is closed. | |
| virtual | ~CloseCallback () |
| 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) |
| Shared & | operator= (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 |
An application can implement this interface to receive notifications when a connection closes.
|
virtual |
|
pure virtual |
This method is called by the connection when the connection is closed.
If the callback needs more information about the closure, it can call Connection#throwException.
| con | The connection that closed. |