mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Interrupt the other side of a duplex connection if an exception occurs.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user