public interface SocketTimeoutSupport
This interface adds timeout support to the SocketTransport
interface.
Modifier and Type | Method and Description |
---|---|
int |
getSoTimeout()
Get the current socket timeout in milliseconds.
|
void |
setSoTimeout(int timeout)
Set the socket timeout in milliseconds.
|
void setSoTimeout(int timeout) throws IOException
timeout
- intIOException
int getSoTimeout() throws IOException
IOException
Copyright © 2024. All rights reserved.