@@ -125,6 +125,10 @@ caller get the mutable object of options and set different options accordingly.
125125When wdt is run in a standalone mode, behavior is changed through gflags in
126126wdtCmdLine.cpp
127127
128+ * WdtThread.{h|cpp}
129+ Common functionality and settings between SenderThread and ReceiverThread.
130+ Both of these kind of threads inherit from this base class.
131+
128132* WdtBase.{h|cpp}
129133
130134Common functionality and settings between Sender and Receiver
@@ -156,22 +160,36 @@ directory, sorted by decreasing size (as they are discovered, you can start
156160pulling from the queue even before all the files are found, it will return
157161the current largest file)
158162
163+ * ThreadTransferHistory.{h|cpp}
159164
160- * Sender.{h|cpp}
165+ Every thread maintains a transfer history so that when a connection breaks
166+ it can talk to the receiver to find out up to where in the history has been
167+ sent. This class encapsulates all the logic for that bookkeeping
168+
169+ * SenderThread.{h|cpp}
170+
171+ Implements the functionality of one sender thread, which binds to a certain port
172+ and sends files over.
161173
162- Formerly wdtlib. cpp - main code sending files
174+ * Sender.{h| cpp}
163175
176+ Spawns multiple SenderThread threads and sends the data across to receiver
164177
165178### Consuming / Receiving
166179
167180* FileCreator.{h|cpp}
168181
169182Creates file and directories necessary for said file (mkdir -p like)
170183
171- * Receiver .{h|cpp}
184+ * ReceiverThread .{h|cpp}
172185
173- Formerly wdtlib.cpp - main code receiving files
186+ Implements the funcionality of the receiver threads, responsible for listening on
187+ a port and receiving files over the network.
188+
189+ * Receiver.{h|cpp}
174190
191+ Parent receiver class that spawns multiple ReceiverThread threads and receives
192+ data from a remote host
175193
176194### Low level building blocks
177195
0 commit comments