swift
src
core
fsd
fsdidentification.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (C) 2019 swift Project Community / Contributors
2
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6
#ifndef SWIFT_CORE_FSD_FSDIDENTIFICATION_H
7
#define SWIFT_CORE_FSD_FSDIDENTIFICATION_H
8
9
#include "
core/fsd/messagebase.h
"
10
11
namespace
swift::core::fsd
12
{
14
class
SWIFT_CORE_EXPORT
FSDIdentification
:
public
MessageBase
15
{
16
public
:
18
FSDIdentification
(
const
QString &callsign,
const
QString &receiver,
const
QString &serverVersion,
19
const
QString &initialChallenge);
20
22
QStringList toTokens()
const
;
23
25
static
FSDIdentification
fromTokens(
const
QStringList &tokens);
26
28
static
QString
pdu
() {
return
"$DI"
; }
29
32
QString
m_serverVersion
;
33
QString
m_initialChallenge
;
35
36
private
:
37
FSDIdentification
();
38
};
39
}
// namespace swift::core::fsd
40
41
#endif
// SWIFT_CORE_FSD_FSDIDENTIFICATION_H
swift::core::fsd::FSDIdentification
This packet is sent by the server immediately after a new client connection is made.
Definition:
fsdidentification.h:15
swift::core::fsd::FSDIdentification::m_initialChallenge
QString m_initialChallenge
Properties.
Definition:
fsdidentification.h:33
swift::core::fsd::FSDIdentification::m_serverVersion
QString m_serverVersion
Properties.
Definition:
fsdidentification.h:32
swift::core::fsd::FSDIdentification::pdu
static QString pdu()
PDU identifier.
Definition:
fsdidentification.h:28
swift::core::fsd::MessageBase
FSD message base class.
Definition:
messagebase.h:58
messagebase.h
SWIFT_CORE_EXPORT
#define SWIFT_CORE_EXPORT
Export a class or function from the library.
Definition:
swiftcoreexport.h:20
Generated on Mon Mar 24 2025 16:42:19 for swift by
1.9.1