// // 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 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 interestList; }; #endif // hifi_NodeConnectionData_h