Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
Glacier2::SessionCallback Class Referenceabstract

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

#include <Glacier2/Glacier2.h>

Public Member Functions

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

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: