Ice 3.7 C++98 API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Glacier2::SessionCallback Class Referenceabstract

Allows an application to receive notification about events in the lifecycle of a Glacier2 session. More...

#include <Glacier2/Glacier2.h>

Inheritance diagram for Glacier2::SessionCallback:
Inheritance graph
[legend]
Collaboration diagram for Glacier2::SessionCallback:
Collaboration graph
[legend]

Public Member Functions

virtual void connected (const SessionHelperPtr &session)=0
 Called after successfully establishing the Glacier2 session. More...
 
virtual void connectFailed (const SessionHelperPtr &session, const Ice::Exception &ex)=0
 Called if a failure occurred while attempting to establish a Glacier2 session. More...
 
virtual void createdCommunicator (const SessionHelperPtr &session)=0
 Called after successfully initializing a communicator. More...
 
virtual void disconnected (const SessionHelperPtr &session)=0
 Called after the Glacier2 session is destroyed. More...
 
virtual ~SessionCallback ()
 
- 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

Allows an application to receive notification about events in the lifecycle of a Glacier2 session.

Constructor & Destructor Documentation

◆ ~SessionCallback()

virtual Glacier2::SessionCallback::~SessionCallback ( )
virtual

Member Function Documentation

◆ connected()

virtual void Glacier2::SessionCallback::connected ( const SessionHelperPtr session)
pure virtual

Called after successfully establishing the Glacier2 session.

Parameters
sessionThe corresponding session helper.

◆ connectFailed()

virtual void Glacier2::SessionCallback::connectFailed ( const SessionHelperPtr session,
const Ice::Exception ex 
)
pure virtual

Called if a failure occurred while attempting to establish a Glacier2 session.

Parameters
sessionThe corresponding session helper.
exThe exception that caused the failure.

◆ createdCommunicator()

virtual void Glacier2::SessionCallback::createdCommunicator ( const SessionHelperPtr session)
pure virtual

Called after successfully initializing a communicator.

Parameters
sessionThe corresponding session helper.

◆ disconnected()

virtual void Glacier2::SessionCallback::disconnected ( const SessionHelperPtr session)
pure virtual

Called after the Glacier2 session is destroyed.

Parameters
sessionThe corresponding session helper.

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