| | |
| | | |
| | | /** |
| | | * This method is called when the session with the remote must be closed. |
| | | * It must |
| | | * This object won't be used anymore after this method is called. |
| | | * This object won't be used anymore after this method is called. |
| | | * |
| | | * @throws IOException If an error happen during the close process. |
| | | */ |
| | |
| | | * such as a TCP error. |
| | | */ |
| | | public abstract void setSoTimeout(int timeout) throws SocketException; |
| | | |
| | | |
| | | |
| | | /** |
| | | * Gets the time the last synchronization message was published on this |
| | | * session. |
| | | * @return The timestamp in milliseconds of the last message published. |
| | | */ |
| | | public abstract long getLastPublishTime(); |
| | | |
| | | |
| | | |
| | | /** |
| | | * Gets the time the last synchronization message was received on this |
| | | * session. |
| | | * @return The timestamp in milliseconds of the last message received. |
| | | */ |
| | | public abstract long getLastReceiveTime(); |
| | | } |