B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Engine::LinkWasRestored Class Reference

A telecommunication link was restored. More...

#include <B2BITS_Event.h>

+ Inheritance diagram for Engine::LinkWasRestored:
+ Collaboration diagram for Engine::LinkWasRestored:

Public Member Functions

virtual Type getType () const
 Returns the event type.
 
 LinkWasRestored (const Session *sn, const char *message)
 Constructor.
 
 LinkWasRestored (const SessionId &sessionId, const char *message)
 Constructor.
 
- Public Member Functions inherited from Engine::SessionNotification
const std::string * getSenderCompID () const
 Returns session's SenderCompID.
 
const SessionIdgetSessionId () const
 Returns session identifier.
 
const std::string * getTargetCompID () const
 Returns session's TargetCompID.
 
 SessionNotification (const Session *pSn)
 Constructor.
 
 SessionNotification (const Session *pSn, const std::string &reason)
 Constructor.
 
 SessionNotification (const SessionId &sessionId, const std::string &reason)
 
virtual ~SessionNotification ()
 Destructor.
 
- Public Member Functions inherited from Engine::Notification
 Notification (const std::string &msg)
 Constructor.
 
virtual const std::string * what () const
 Describes the event.
 
virtual ~Notification ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from Engine::Event
enum  Type {
  EVENT , ERROR_EVENT , NOTIFICATION , WARNING ,
  SESSION_ERROR , SESSION_LOGON_ERROR , PARSE_ERROR_IN_SESSION , NEW_INCOMING_CONNECTION ,
  NEW_INCOMING_CONNECTION_ERROR , SESSION_NOTIFICATION , SESSION_WAS_REJECTED , SESSION_WAS_CREATED ,
  SESSION_WAS_CONNECTED , SESSION_WAS_CLOSED , SESSION_WAS_ESTABLISHED , SESSION_WAS_RESTORED ,
  SYNCHRONIZATION_COMPLETE , SESSION_WARNING , LINK_ERROR_WAS_DETECTED , LINK_WAS_RESTORED ,
  PERSISTENT_DATA_WERE_FOUND , DEBUG_MESSAGE , SESSION_DEBUG_MESSAGE
}
 Event types. More...
 
- Protected Member Functions inherited from Engine::Event
virtual ~Event ()
 Destructor.
 
- Protected Attributes inherited from Engine::SessionNotification
SessionId sessionId_
 
- Protected Attributes inherited from Engine::Notification
std::string m_reason
 Contains std::string that describes the event.
 

Detailed Description

A telecommunication link was restored.

Constructor & Destructor Documentation

◆ LinkWasRestored() [1/2]

Engine::LinkWasRestored::LinkWasRestored ( const Session * sn,
const char * message )

Constructor.

Parameters
snSession.
messagestd::string that describes this event.

◆ LinkWasRestored() [2/2]

Engine::LinkWasRestored::LinkWasRestored ( const SessionId & sessionId,
const char * message )

Constructor.

Parameters
senderSenderCompID of the Session assigned with event
targetTargetCompID of the Session assigned with event
messagestd::string that describes this event.

Member Function Documentation

◆ getType()

virtual Type Engine::LinkWasRestored::getType ( ) const
inlinevirtual

Returns the event type.

Can be used instead of C++ RTTI.

Reimplemented from Engine::SessionNotification.

References Engine::Event::LINK_WAS_RESTORED.