swift
Public Member Functions | Static Public Member Functions | List of all members
swift::core::fsd::ClientIdentification Class Reference

This packet is sent by any client that supports the VATSIM client authentication protocol, in response to a $DI query from the server. Further information to the client authentication protocol is kept restricted. More...

Inheritance diagram for swift::core::fsd::ClientIdentification:
[legend]

Public Member Functions

 ClientIdentification (const QString &sender, quint16 clientId, const QString &clientName, int clientVersionMajor, int clientVersionMinor, const QString &userCid, const QString &sysUid, const QString &initialChallenge)
 Constructor.
 
QStringList toTokens () const
 Message converted to tokens.
 
- Public Member Functions inherited from swift::core::fsd::MessageBase
 MessageBase ()
 Default Constructor.
 
 MessageBase (const QString &sender)
 Constructor.
 
 MessageBase (const QString &sender, const QString &receiver)
 Constructor.
 
void setCallsign (const QString &sender)
 Set callsign.
 
QString sender () const
 get message sender
 
void setReceiver (const QString &receiver)
 Set message receiver.
 
QString receiver () const
 Get message receiver.
 
bool isValid () const
 Is message valid?
 
void setValid (bool isValid)
 set message valid
 

Static Public Member Functions

static ClientIdentification fromTokens (const QStringList &tokens)
 Construct from tokens.
 
static QString pdu ()
 PDU identifier.
 

Public Attributes

std::uint16_t m_clientId = 0
 Properties.
 
QString m_clientName
 Properties.
 
int m_clientVersionMajor = swift::config::CBuildConfig::getVersion().majorVersion()
 Properties.
 
int m_clientVersionMinor = swift::config::CBuildConfig::getVersion().minorVersion()
 Properties.
 
QString m_userCid
 Properties.
 
QString m_sysUid
 Properties.
 
QString m_initialChallenge
 Properties.
 

Additional Inherited Members

- Protected Attributes inherited from swift::core::fsd::MessageBase
QString m_sender
 message sender
 
QString m_receiver
 message receiver
 
bool m_isValid = true
 is valid?
 

Detailed Description

This packet is sent by any client that supports the VATSIM client authentication protocol, in response to a $DI query from the server. Further information to the client authentication protocol is kept restricted.

Definition at line 17 of file clientidentification.h.


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