B2BITS FIX Antenna C++  2.27.1
Public Member Functions | List of all members
Engine::SwitchConnectionEvent Class Reference

The session has changed its state. More...

#include <B2BITS_SessionEvent.h>

+ Inheritance diagram for Engine::SwitchConnectionEvent:
+ Collaboration diagram for Engine::SwitchConnectionEvent:

Public Member Functions

Session::ActiveConnection getNew () const
 Returns the new session's state. More...
 
Session::ActiveConnection getPrev () const
 Returns the previous session's state. More...
 
 SwitchConnectionEvent (Session::ActiveConnection oldState, Session::ActiveConnection newState)
 Constructor. More...
 
virtual const std::string * what () const
 Reimplemented from SessionEvent. More...
 
virtual ~SwitchConnectionEvent ()
 Destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Engine::SessionEvent
virtual ~SessionEvent ()
 Destructor. More...
 

Detailed Description

The session has changed its state.

Constructor & Destructor Documentation

◆ SwitchConnectionEvent()

Engine::SwitchConnectionEvent::SwitchConnectionEvent ( Session::ActiveConnection  oldState,
Session::ActiveConnection  newState 
)

Constructor.

◆ ~SwitchConnectionEvent()

virtual Engine::SwitchConnectionEvent::~SwitchConnectionEvent ( )
virtual

Destructor.

Member Function Documentation

◆ getNew()

Session::ActiveConnection Engine::SwitchConnectionEvent::getNew ( ) const

Returns the new session's state.

◆ getPrev()

Session::ActiveConnection Engine::SwitchConnectionEvent::getPrev ( ) const

Returns the previous session's state.

◆ what()

virtual const std::string* Engine::SwitchConnectionEvent::what ( ) const
virtual

Reimplemented from SessionEvent.

See also
SessionEvent.

Implements Engine::SessionEvent.