B2BITS FIX Antenna C++ 2.32.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Engine::SessionId Struct Reference

Session Identificator structure. More...

#include <B2BITS_SessionId.h>

+ Collaboration diagram for Engine::SessionId:

Public Member Functions

bool operator< (const SessionId &rv) const throw ()
 Less operator.
 
bool operator== (const SessionId &rv) const
 Equal operator.
 
 SessionId ()
 Creates epmty session Id.
 
 SessionId (const std::string &sender, const std::string &target)
 Creates session Id from SenderCompID and TargetCompID.
 
 SessionId (const std::string &sender, const std::string &target, const std::string &qualifier)
 Creates session Id from SenderCompID, TargetCompID, and SessionQualifier.
 

Public Attributes

std::string qualifier_
 SessionQualifier.
 
std::string sender_
 SenderCompID.
 
std::string target_
 TargetCompID.
 

Detailed Description

Session Identificator structure.

The fields of the structure identify session uniquely

Constructor & Destructor Documentation

◆ SessionId() [1/3]

Engine::SessionId::SessionId ( )

Creates epmty session Id.

◆ SessionId() [2/3]

Engine::SessionId::SessionId ( const std::string & sender,
const std::string & target,
const std::string & qualifier )

Creates session Id from SenderCompID, TargetCompID, and SessionQualifier.

◆ SessionId() [3/3]

Engine::SessionId::SessionId ( const std::string & sender,
const std::string & target )

Creates session Id from SenderCompID and TargetCompID.

Field qualifier_ is initialized with empty string

Member Function Documentation

◆ operator<()

bool Engine::SessionId::operator< ( const SessionId & rv) const
throw ( )

Less operator.

◆ operator==()

bool Engine::SessionId::operator== ( const SessionId & rv) const

Equal operator.

Member Data Documentation

◆ qualifier_

std::string Engine::SessionId::qualifier_

SessionQualifier.

◆ sender_

std::string Engine::SessionId::sender_

◆ target_

std::string Engine::SessionId::target_