Class SessionRequest
- java.lang.Object
-
- org.drasyl.cli.command.perf.message.SessionRequest
-
- All Implemented Interfaces:
PerfMessage
public class SessionRequest extends Object implements PerfMessage
Sent from thePerfClientNode
to thePerfServerNode
to request a new session.
-
-
Constructor Summary
Constructors Constructor Description SessionRequest(int time, int mps, int size, boolean reverse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMps()
int
getSize()
int
getTime()
boolean
isReverse()
String
toString()
-
-
-
Constructor Detail
-
SessionRequest
public SessionRequest(int time, int mps, int size, boolean reverse)
- Throws:
IllegalArgumentException
- iftestDuration
,totalMessages
ormessageSize
is less than 1
-
-