public class TcpSettings extends Object implements INetworkSettings
| Constructor and Description |
|---|
TcpSettings(int listeningPort,
int sendTimeout,
int receiveTimeout)
Initializes a new instance of the
TcpSettings class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getListeningPort()
Gets the listening port.
|
int |
getReceiveTimeout()
Gets the receive timeout in milliseconds.
|
int |
getSendTimeout()
Gets the send timeout in milliseconds.
|
public TcpSettings(int listeningPort,
int sendTimeout,
int receiveTimeout)
TcpSettings class.listeningPort - The listening port.sendTimeout - The send timeout in milliseconds.receiveTimeout - The receive timeout in milliseconds.public final int getListeningPort()
public final int getReceiveTimeout()
public final int getSendTimeout()
Copyright © 2026. All rights reserved.