kbps */ 80, /*millisecs 대기시간*/ 200, /* 흔들림 */ 1, /* 패킷 손실 % */); public static final TcpConnectionSimulator cell = new TcpConnectionSimulator( 4500, /* kbps */ 10, /* millisecs 대기시간*/ 0, /* 흔들림 */ 0 /* 패킷 손실 % */); public static final TcpConnectionSimulator t3_fiber = new TcpConnectionSimulator( 4500, /* kbps */ 10, /* millisecs 대기시간*/ 250, /* 흔들림 */ 0 /* 패킷 손실 % */); '반복하지 말라(DRY)'는 원리 // TcpConnectionSimulator ( 처리량, 지연속도, 흔들림, 패킷 손실) // [kbps] [ms] [ms] [percent] public static final TcpConnectionSimulator wifi = new TcpConnetcionSimulator( 500, 80, 200, 1 ); public static final TcpConnectionSimulator cell = new TcpConnectionSimulator( 4500, 10, 0, 0 ); public static final TcpConnectionSimulator t3_fiber = new TcpConnectionSimulator( 4500, 10, 250, 0 );