From 79a899ea979d9ad45e59531cd6d8942aa93e156d Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 21 Feb 2023 23:55:46 +0800 Subject: [PATCH] Cleanup --- .../src/frontend_service/quic_transceiver.cpp | 5 +- .../src/frontend_service/quic_transceiver.h | 47 ------------------- 2 files changed, 1 insertion(+), 51 deletions(-) diff --git a/ryzom/server/src/frontend_service/quic_transceiver.cpp b/ryzom/server/src/frontend_service/quic_transceiver.cpp index 249cde305b..cf05480e46 100644 --- a/ryzom/server/src/frontend_service/quic_transceiver.cpp +++ b/ryzom/server/src/frontend_service/quic_transceiver.cpp @@ -1,8 +1,5 @@ // Ryzom - MMORPG Framework -// Copyright (C) 2010 Winch Gate Property Limited -// -// This source file has been modified by the following contributors: -// Copyright (C) 2014 Jan BOON (Kaetemi) +// Copyright (C) 2023 Jan BOON (Kaetemi) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as diff --git a/ryzom/server/src/frontend_service/quic_transceiver.h b/ryzom/server/src/frontend_service/quic_transceiver.h index 905afb816f..583143fac5 100644 --- a/ryzom/server/src/frontend_service/quic_transceiver.h +++ b/ryzom/server/src/frontend_service/quic_transceiver.h @@ -175,53 +175,6 @@ class CQuicTransceiver /// Generates a token address to identify the connection with existing code NLNET::CInetAddress generateTokenAddr(); - - // public: - // /// Constructor - // CFEReceiveTask(uint16 firstAcceptablePort, uint16 lastAcceptablePort, uint32 msgsize); - // - // /// Destructor - // ~CFEReceiveTask(); - // - // /// Run - // virtual void run(); - // - // /// Set new write queue (thread-safe because mutexed) - // void setWriteQueue(NLMISC::CBufFIFO *writequeue); - // - // /// Require exit (thread-safe because atomic assignment) - // void requireExit() { _ExitRequired = true; } - // - // /// Return the number of rejected datagrams since the last call (thread-safe because atomic assignment) - // uint nbNewRejectedDatagrams() - // { - // uint nb = _NbRejectedDatagrams; - // _NbRejectedDatagrams = 0; - // return nb; - // } - // - // private: - // /// Datagram length - // uint _DatagramLength; - // - // /// Received message - // TReceivedMessage _ReceivedMessage; - // - // /// Write queue access - // NLMISC::CSynchronized _WriteQueue; - // - // /// Number of datagrams not copied because too big - // volatile uint _NbRejectedDatagrams; - // - // /// Exit required - // volatile bool _ExitRequired; - // - // public: - // /// External datagram socket - // NLNET::CUdpSock *DataSock; - // - // /// The date of the last UPD packet recevied - // static volatile uint32 LastUDPPacketReceived; }; #endif /* NL_QUIC_TRANSCEIVER_H */