B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CMI::Logon Struct Reference

#include <CmiBinaryMessages.h>

+ Inheritance diagram for CMI::Logon:
+ Collaboration diagram for CMI::Logon:

Public Member Functions

const UInt8 getHeartbeatInterval () const throw ()
 
FieldsIterator getIterator () const
 
const UInt8 getLoginMode () const throw ()
 
size_t getMsgLength () const
 
const UInt32 getNextExpectedSequenceNumber () const throw ()
 
const AsciiString getPassword () const throw ()
 
const UInt16 getSessionSettings () const throw ()
 
FieldsSetIterator getSetIterator ()
 
const AsciiString getUserId () const throw ()
 
 Logon () throw ()
 
 Logon (bool initFields) throw ()
 
void setHeartbeatInterval (UInt8 value) throw ()
 
void setLoginMode (UInt8 value) throw ()
 
void setNextExpectedSequenceNumber (UInt32 value) throw ()
 
void setPassword (const AsciiString &val) throw ()
 
void setSessionSettings (UInt16 value) throw ()
 
void setUserId (const AsciiString &val) throw ()
 
std::ostream & toStream (std::ostream &os) const
 
std::string toString () const
 
void updateMessageLength ()
 
- Public Member Functions inherited from CMI::StandardHeader
UInt8 getCmiMarker () const
 
UInt8 getMessageFlags () const
 
UInt32 getMessageLength () const
 
UInt32 getMessageSequenceNumber () const
 
MessageType::Enum getMessageType () const
 
UInt8 getVersion () const
 
void setCmiMarker (UInt8 marker)
 
void setMessageFlags (UInt8 value)
 
void setMessageLength (UInt32 value)
 
void setMessageSequenceNumber (UInt32 value)
 
void setMessageType (MessageType::Enum value)
 
void setMessageType (UInt8 value)
 
 StandardHeader ()
 

Static Public Member Functions

static FieldsIterator getIterator (const StandardHeader &message)
 
static size_t getMinMessageSize ()
 
static FieldsSetIterator getSetIterator (StandardHeader &message)
 
static void updateMessageLength (StandardHeader &message)
 

Public Attributes

UInt8 heartbeatInterval
 
UInt8 loginMode
 
UInt32 nextExpectedSequenceNumber
 
Alpha10 password
 
UInt16 sessionSettings
 
Alpha8 userId
 
- Public Attributes inherited from CMI::StandardHeader
UInt8 cmiMarker
 
UInt8 messageFlags
 
UInt32 messageLength
 
UInt32 messageSequenceNumber
 
MessageType messageType
 
UInt8 reserved
 
UInt16 reserved2
 
UInt8 version
 

Static Public Attributes

static const MessageType::Enum TYPE = MessageType::MessageType_Logon
 

Constructor & Destructor Documentation

CMI::Logon::Logon ( )
throw (
)
inline
CMI::Logon::Logon ( bool  initFields)
throw (
)
inlineexplicit

Member Function Documentation

const UInt8 CMI::Logon::getHeartbeatInterval ( ) const
throw (
)
inline
FieldsIterator CMI::Logon::getIterator ( ) const
inline
FieldsIterator CMI::Logon::getIterator ( const StandardHeader message)
inlinestatic
const UInt8 CMI::Logon::getLoginMode ( ) const
throw (
)
inline
size_t CMI::Logon::getMinMessageSize ( )
inlinestatic
size_t CMI::Logon::getMsgLength ( ) const
inline
const UInt32 CMI::Logon::getNextExpectedSequenceNumber ( ) const
throw (
)
inline

References BSWAP32.

const AsciiString CMI::Logon::getPassword ( ) const
throw (
)
inline
const UInt16 CMI::Logon::getSessionSettings ( ) const
throw (
)
inline

References BSWAP16.

FieldsSetIterator CMI::Logon::getSetIterator ( )
inline
FieldsSetIterator CMI::Logon::getSetIterator ( StandardHeader message)
inlinestatic
const AsciiString CMI::Logon::getUserId ( ) const
throw (
)
inline
void CMI::Logon::setHeartbeatInterval ( UInt8  value)
throw (
)
inline
void CMI::Logon::setLoginMode ( UInt8  value)
throw (
)
inline
void CMI::Logon::setNextExpectedSequenceNumber ( UInt32  value)
throw (
)
inline

References BSWAP32.

Referenced by CMI::convertSessionLevelMsgToBinary().

void CMI::Logon::setPassword ( const AsciiString val)
throw (
)
inline
void CMI::Logon::setSessionSettings ( UInt16  value)
throw (
)
inline

References BSWAP16.

Referenced by CMI::convertSessionLevelMsgToBinary().

void CMI::Logon::setUserId ( const AsciiString val)
throw (
)
inline
std::ostream& CMI::Logon::toStream ( std::ostream &  os) const
inline

Referenced by CMI::messageToStream().

std::string CMI::Logon::toString ( ) const
inline
void CMI::Logon::updateMessageLength ( )
inline
static void CMI::Logon::updateMessageLength ( StandardHeader message)
inlinestatic

Member Data Documentation

UInt8 CMI::Logon::heartbeatInterval
UInt8 CMI::Logon::loginMode
UInt32 CMI::Logon::nextExpectedSequenceNumber
Alpha10 CMI::Logon::password
UInt16 CMI::Logon::sessionSettings
const MessageType::Enum CMI::Logon::TYPE = MessageType::MessageType_Logon
static
Alpha8 CMI::Logon::userId