class NTCP2Options extends Object
| Constructor and Description |
|---|
NTCP2Options(float sendMin,
float sendMax,
float recvMin,
float recvMax,
int sendDummy,
int recvDummy,
int sendDelay,
int recvDelay)All params are as named. |
| Modifier and Type | Method and Description |
|---|---|
static NTCP2Options | fromByteArray(byte[] options) |
int | getRecvDelay() |
int | getRecvDummy() |
float | getRecvMax() |
float | getRecvMin() |
int | getSendDelay() |
int | getSendDummy() |
float | getSendMax() |
float | getSendMin() |
NTCP2Options | merge(NTCP2Options his)Merge our options with the peer's options. |
String | toString()toString. |
public NTCP2Options(float sendMin,
float sendMax,
float recvMin,
float recvMax,
int sendDummy,
int recvDummy,
int sendDelay,
int recvDelay)public static NTCP2Options fromByteArray(byte[] options)
public int getRecvDelay()
public int getRecvDummy()
public float getRecvMax()
public float getRecvMin()
public int getSendDelay()
public int getSendDummy()
public float getSendMax()
public float getSendMin()
public NTCP2Options merge(NTCP2Options his)