0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
Hyperspace::SessionCallback Class Referenceabstract

A callback object derived from this class gets passed into the constructor of Hyperspace. More...

#include <Session.h>

Inheritance diagram for Hyperspace::SessionCallback:
Inheritance graph
[legend]

Public Member Functions

 SessionCallback ()
 
virtual ~SessionCallback ()
 
virtual void safe ()=0
 
virtual void expired ()=0
 
virtual void jeopardy ()=0
 
virtual void disconnected ()=0
 
virtual void reconnected ()=0
 
void set_id (uint32_t id)
 
uint32_t get_id ()
 

Private Attributes

uint32_t m_id
 

Detailed Description

A callback object derived from this class gets passed into the constructor of Hyperspace.

Session state changes get reported to the application via this callback.

Definition at line 94 of file Session.h.

Constructor & Destructor Documentation

Hyperspace::SessionCallback::SessionCallback ( )
inline

Definition at line 96 of file Session.h.

virtual Hyperspace::SessionCallback::~SessionCallback ( )
inlinevirtual

Definition at line 97 of file Session.h.

Member Function Documentation

virtual void Hyperspace::SessionCallback::disconnected ( )
pure virtual
virtual void Hyperspace::SessionCallback::expired ( )
pure virtual
uint32_t Hyperspace::SessionCallback::get_id ( )
inline

Definition at line 104 of file Session.h.

virtual void Hyperspace::SessionCallback::jeopardy ( )
pure virtual
virtual void Hyperspace::SessionCallback::reconnected ( )
pure virtual
virtual void Hyperspace::SessionCallback::safe ( )
pure virtual
void Hyperspace::SessionCallback::set_id ( uint32_t  id)
inline

Definition at line 103 of file Session.h.

Member Data Documentation

uint32_t Hyperspace::SessionCallback::m_id
private

Definition at line 106 of file Session.h.


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