libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg > Struct Template Reference

#include <messages.hpp>

Inheritance diagram for isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >:
[legend]
Collaboration diagram for isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >:
[legend]

Classes

struct  respond
 

Public Types

enum  : std::size_t { header_t_size =sizeof(Header_t) }
 
using Header_t = Header< MsgT, Msg >
 
- Public Types inherited from isimud::exchanges::BATSBOE::common::Header< MsgT, Msg >
enum  : typename std::underlying_type< MsgType_t >::type { static_type =static_cast<typename std::underlying_type<MsgType_t>::type>(Msg) }
 
enum  : bool { has_static_size =false }
 
using MsgType_t = MsgT
 
using MsgTypes_t = common::MsgType_t
 

Public Member Functions

 LogonReply () noexcept(true) FORCE_INLINE
 
 LogonReply (uint32_t seqNum) noexcept(true) FORCE_INLINE
 
LoginResponseStatus rejectCode () const noexcept(true) FORCE_INLINE
 
void rejectCode (LoginResponseStatus const &rc) noexcept(true) FORCE_INLINE
 
- Public Member Functions inherited from isimud::exchanges::BATSBOE::common::Header< MsgT, Msg >
 Header (std::size_t l) noexcept(true) FORCE_INLINE
 
 Header (std::size_t l, std::uint32_t seqNumber) noexcept(true) FORCE_INLINE
 
const MsgType_t type () const noexcept(true)
 
std::uint16_t length () const noexcept(true)
 The actual, not the foolish BATSBOE-specified, length which excludes the start_of_message field. More...
 
bool is_valid () const noexcept(true)
 

Public Attributes

LoginResponseStatus loginResponseStatus
 
- Public Attributes inherited from isimud::exchanges::BATSBOE::common::Header< MsgT, Msg >
enum isimud::exchanges::BATSBOE::common::Header:: { ... }  __attribute__
 
const std::uint16_t start_of_message =msg_start_code
 
const MsgType_t type_ {Msg}
 
const std::uint8_t matchingUnit =0
 
const std::uint32_t sequenceNumber
 

Static Public Attributes

static constexpr const LoginResponseStatus logon_success =LoginResponseStatus::LoginAccepted
 

Additional Inherited Members

- Protected Member Functions inherited from isimud::exchanges::BATSBOE::common::Header< MsgT, Msg >
 ~Header () noexcept(true)=default
 
- Protected Attributes inherited from isimud::exchanges::BATSBOE::common::Header< MsgT, Msg >
std::uint16_t length_
 

Detailed Description

template<class MsgT, MsgT Msg>
struct isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >

Section: "3.2.1 Login Response"

Definition at line 257 of file messages.hpp.

Member Typedef Documentation

◆ Header_t

template<class MsgT , MsgT Msg>
using isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::Header_t = Header<MsgT, Msg>

Definition at line 258 of file messages.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<class MsgT , MsgT Msg>
anonymous enum : std::size_t
Enumerator
header_t_size 

Definition at line 259 of file messages.hpp.

Constructor & Destructor Documentation

◆ LogonReply() [1/2]

template<class MsgT , MsgT Msg>
isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::LogonReply ( )
inlinenoexcept

◆ LogonReply() [2/2]

template<class MsgT , MsgT Msg>
isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::LogonReply ( uint32_t  seqNum)
inlineexplicitnoexcept

Member Function Documentation

◆ rejectCode() [1/2]

template<class MsgT , MsgT Msg>
LoginResponseStatus isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::rejectCode ( ) const
inlinenoexcept

Definition at line 272 of file messages.hpp.

◆ rejectCode() [2/2]

template<class MsgT , MsgT Msg>
void isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::rejectCode ( LoginResponseStatus const &  rc)
inlinenoexcept

Definition at line 275 of file messages.hpp.

Member Data Documentation

◆ loginResponseStatus

template<class MsgT , MsgT Msg>
LoginResponseStatus isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::loginResponseStatus

Definition at line 267 of file messages.hpp.

◆ logon_success

template<class MsgT , MsgT Msg>
constexpr const LoginResponseStatus isimud::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::logon_success =LoginResponseStatus::LoginAccepted
inlinestaticconstexpr

Definition at line 265 of file messages.hpp.


The documentation for this struct was generated from the following files: