blob: 3e0341b32afc0069b614d08122dfc265ee9f1f00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright 2017-2021 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
#include "ServerResolverRecord.h"
ServerResolverRecord::ServerResolverRecord() {
}
ServerResolverRecord::ServerResolverRecord(QString hostname_, quint16 port_, qint64 priority_,
QList< HostAddress > addresses_)
: m_hostname(hostname_), m_port(port_), m_priority(priority_), m_addresses(addresses_) {
}
qint64 ServerResolverRecord::priority() {
return m_priority;
}
QString ServerResolverRecord::hostname() {
return m_hostname;
}
quint16 ServerResolverRecord::port() {
return m_port;
}
QList< HostAddress > ServerResolverRecord::addresses() {
return m_addresses;
}
|