Interrupt the other side of a duplex connection if an exception occurs.

This commit is contained in:
akwizgran
2014-11-05 18:28:05 +00:00
parent 33c3eb7308
commit 5b8eab6035
2 changed files with 218 additions and 132 deletions

View File

@@ -25,8 +25,8 @@ public interface TransportConnectionReader {
* the connection has been marked as closed.
* @param exception true if the connection is being closed because of an
* exception. This may affect how resources are disposed of.
* @param recognised true if the pseudo-random tag was recognised. This may
* affect how resources are disposed of.
* @param recognised true if the connection is definitely a Briar transport
* connection. This may affect how resources are disposed of.
*/
void dispose(boolean exception, boolean recognised) throws IOException;
}