public class CommunicationParameters extends Object implements Cloneable
Constructor and Description |
---|
CommunicationParameters() |
Modifier and Type | Method and Description |
---|---|
CommunicationParameters |
clone() |
int |
getMinimumThroughput()
Bestimmt den minimal erlaubten Verbindungsdurchsatz bei aktivierter Durchsatzprüfung.
|
long |
getReceiveKeepAliveTimeout()
Bestimmt das KeepAlive-Timeout beim Empfang von Telegrammen.
|
long |
getSendKeepAliveTimeout()
Bestimmt das Timeout zum Senden von KeepAlive-Telegrammen.
|
long |
getThroughputControlInterval()
Bestimmt die Intervalldauer für die Durchsatzmessung bei aktivierter Durchsatzprüfung.
|
float |
getThroughputControlSendBufferFactor()
Bestimmt den Füllgrad des Sendepuffers bei dem die Durchsatzprüfung gestartet wird.
|
void |
setMinimumThroughput(int throughput)
Setzt den minimal erlaubten Verbindungsdurchsatz bei aktivierter Durchsatzprüfung.
|
void |
setReceiveKeepAliveTimeout(long timeout)
Setzt das KeepAlive-Timeout beim Empfang von Telegrammen.
|
void |
setSendKeepAliveTimeout(long timeout)
Setzt das Timeout zum Senden von KeepAlive-Telegrammen.
|
void |
setThroughputControlInterval(long interval)
Setzt die Intervalldauer für die Durchsatzmessung bei aktivierter Durchsatzprüfung.
|
void |
setThroughputControlSendBufferFactor(float sendBufferFactor)
Definiert den Füllgrad des Sendepuffers bei dem die Durchsatzprüfung gestartet wird.
|
public long getSendKeepAliveTimeout()
public void setSendKeepAliveTimeout(long timeout)
timeout
- Vorschlag für das Timeout zum Senden von KeepAlive-Telegrammen in Millisekunden.public long getReceiveKeepAliveTimeout()
public void setReceiveKeepAliveTimeout(long timeout)
timeout
- Vorschlag für das KeepAlive-Timeout beim Empfang von Telegrammen in Millisekunden.public float getThroughputControlSendBufferFactor()
public void setThroughputControlSendBufferFactor(float sendBufferFactor)
sendBufferFactor
- Füllgrad des Sendepuffers als Wert zwischen 0 und 1.public long getThroughputControlInterval()
public void setThroughputControlInterval(long interval)
interval
- Intervalldauer in Millisekunden.public int getMinimumThroughput()
public void setMinimumThroughput(int throughput)
throughput
- Mindestdurchsatz in Byte pro Sekunde.public final CommunicationParameters clone()