swift
|
This packet is used to query a client’s data. More...
Public Member Functions | |
ClientQuery (const QString &sender, const QString &clientToBeQueried, ClientQueryType queryType, const QStringList &queryData={}) | |
Constructor. | |
QStringList | toTokens () const |
Message converted to tokens. | |
Static Public Member Functions | |
static ClientQuery | fromTokens (const QStringList &tokens) |
Construct from tokens. | |
static QString | pdu () |
PDU identifier. | |
Public Attributes | |
ClientQueryType | m_queryType = ClientQueryType::Unknown |
Properties. | |
QStringList | m_queryData |
Properties. | |
Additional Inherited Members |
This packet is used to query a client’s data.
Current uses include requests for flight-plans, INF responses, realname details, current server and current frequency. All requests are sent directly to the client to be queried, currently, except the flight-plan request which is sent to the server. Therefore, the only client which will return an error is SERVER. Other clients will simply not reply if the code is unrecognised or request invalid.
Definition at line 20 of file clientquery.h.