[xSocket-develop] Question: ConnectionTimeout
Status: Inactive
Brought to you by:
grro
|
From: MANITIU, C. M. (C. Maria)** C. **
<cri...@al...> - 2014-09-04 17:13:34
|
Hello,
I have a question regarding ConnectionTimeout parameter and onConnectionTimeout method: if we set the value for ConnectionTimeout to 0 it means that the connection will never timeout and the method onConnectionTimeout will never be called?
Or there is another method to never close INonBlockingConnection?
In our code we have implemented the method onConnectionTimeout as you specify in your documentation:
public boolean onConnectionTimeout(INonBlockingConnection nbc) throws IOException {
nbc.close();
return true;
}
And we don't want to close at a specified amount of time the NonBlockingConnections.
Any suggestions will be appreciated.
Thank you,
Cristina Manitiu
|