mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
33 lines
836 B
C++
33 lines
836 B
C++
//
|
|
// NodeConnectionData.h
|
|
// domain-server/src
|
|
//
|
|
// Created by Stephen Birarda on 2015-08-24.
|
|
// Copyright 2015 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#ifndef hifi_NodeConnectionData_h
|
|
#define hifi_NodeConnectionData_h
|
|
|
|
#include <Node.h>
|
|
|
|
class NodeConnectionData {
|
|
public:
|
|
static NodeConnectionData fromDataStream(QDataStream& dataStream, const HifiSockAddr& senderSockAddr,
|
|
bool isConnectRequest = true);
|
|
|
|
QUuid connectUUID;
|
|
NodeType_t nodeType;
|
|
HifiSockAddr publicSockAddr;
|
|
HifiSockAddr localSockAddr;
|
|
HifiSockAddr senderSockAddr;
|
|
QList<NodeType_t> interestList;
|
|
};
|
|
|
|
|
|
#endif // hifi_NodeConnectionData_h
|