public interface IClientMultithreaded extends IClient
Modifier and Type | Method and Description |
---|---|
long |
getSocketTimeout()
Returns the number of millis to keep an idle socket open before closing it.
|
void |
setSocketTimeout(long theSocketTimeout)
Sets the number of millis to keep an idle socket open before closing it.
|
getHost, getPort, getSocketFactory, getSoTimeout, getUriPath, getUrl, getUrlString, isKeepAlive, setAuthorizationCallback, setCharset, setHost, setKeepAlive, setPort, setResponseTimeout, setSigner, setSocketFactory, setSoTimeout, setUriPath, setUrl, setUrlString
void setSocketTimeout(long theSocketTimeout)
Sets the number of millis to keep an idle socket open before closing it.
This value may be changed at any time. Default is
HohRawClientMultithreaded.DEFAULT_SOCKET_TIMEOUT
A value of -1 indicates that connections do not time out (use with caution).
Note that this parameter is respected on a best-effort basis, timeouts may be different, especially under heavy load
long getSocketTimeout()
Returns the number of millis to keep an idle socket open before closing it.
Copyright © 2012–2017 University Health Network. All rights reserved.