Public Member Functions

Engine::SessionWasClosed Class Reference

Session was closed. More...

#include <B2BITS_Event.h>

Inheritance diagram for Engine::SessionWasClosed:
Collaboration diagram for Engine::SessionWasClosed:

List of all members.

Public Member Functions

virtual Type getType () const
 Returns the event type.
 SessionWasClosed (const Fast2FixSession *sn, const std::string &reason="")
 Constructor.
 SessionWasClosed (const std::string &sender, const std::string &target, Session::Role role, bool correctlyTerminated, const std::string &reason="")

Detailed Description

Session was closed.

Definition at line 339 of file B2BITS_Event.h.


Constructor & Destructor Documentation

Engine::SessionWasClosed::SessionWasClosed ( const Fast2FixSession *  sn,
const std::string &  reason = "" 
)

Constructor.

Parameters:
snSession.
reasonReason of session closing.
Engine::SessionWasClosed::SessionWasClosed ( const std::string &  sender,
const std::string &  target,
Session::Role  role,
bool  correctlyTerminated,
const std::string &  reason = "" 
)

Member Function Documentation

virtual Type Engine::SessionWasClosed::getType (  ) const [inline, virtual]

Returns the event type.

Can be used instead of C++ RTTI.

Reimplemented from Engine::SessionNotification.

Definition at line 346 of file B2BITS_Event.h.

References Engine::Event::SESSION_WAS_CLOSED.