B2BITS FIX Antenna C++  2.27.1
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. More...
 
bool operator== (const SessionId &rv) const
 Equal operator. More...
 
 SessionId ()
 Creates epmty session Id. More...
 
 SessionId (const std::string &sender, const std::string &target, const std::string &qualifier)
 Creates session Id from SenderCompID, TargetCompID, and SessionQualifier. More...
 
 SessionId (const std::string &sender, const std::string &target)
 Creates session Id from SenderCompID and TargetCompID. More...
 

Public Attributes

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

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_