Commit 761eee97 authored by Lubomir Bulej's avatar Lubomir Bulej

Move ElapsedTime and ExchangedBytes into ConnectionHandler

parent db43c1b2
......@@ -26,6 +26,16 @@ import ch.usi.dag.util.logging.Logger;
*/
final class ConnectionHandler implements Runnable {
enum ElapsedTime {
RECEIVE, UNPACK, PROCESS, PACK, TRANSMIT
}
enum ExchangedBytes {
RECEIVED, TRANSMITTED;
}
//
/** Server's end of the connection to the client. */
private final Socket __clientSocket;
......
package ch.usi.dag.server;
enum ElapsedTime {
RECEIVE, UNPACK, PROCESS, PACK, TRANSMIT
}
package ch.usi.dag.server;
enum ExchangedBytes {
RECEIVED, TRANSMITTED;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment