TcpSettings
Leave feedback
On this page
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.search.scaling.configuring.INetworkSettings
public class TcpSettings implements INetworkSettings
Represents a TCP network settings.
| Constructor | Description |
|---|---|
| TcpSettings(int listeningPort, int sendTimeout, int receiveTimeout) | Initializes a new instance of the TcpSettings class. |
| Method | Description |
|---|---|
| getListeningPort() | Gets the listening port. |
| getSendTimeout() | Gets the send timeout in milliseconds. |
| getReceiveTimeout() | Gets the receive timeout in milliseconds. |
public TcpSettings(int listeningPort, int sendTimeout, int receiveTimeout)
Initializes a new instance of the TcpSettings class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| listeningPort | int | The listening port. |
| sendTimeout | int | The send timeout in milliseconds. |
| receiveTimeout | int | The receive timeout in milliseconds. |
public final int getListeningPort()
Gets the listening port.
Returns: int - The listening port.
public final int getSendTimeout()
Gets the send timeout in milliseconds.
Returns: int - The send timeout in milliseconds.
public final int getReceiveTimeout()
Gets the receive timeout in milliseconds.
Returns: int - The receive timeout in milliseconds.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.