mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Removed shouldFlush() from plugins, added missing PacketWriter method.
This commit is contained in:
@@ -34,10 +34,6 @@ class DroidtoothTransportConnection implements DuplexTransportConnection {
|
||||
return socket.getOutputStream();
|
||||
}
|
||||
|
||||
public boolean shouldFlush() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void dispose(boolean exception, boolean recognised)
|
||||
throws IOException {
|
||||
socket.close();
|
||||
|
||||
@@ -34,10 +34,6 @@ class TorTransportConnection implements DuplexTransportConnection {
|
||||
return socket.getOutputStream();
|
||||
}
|
||||
|
||||
public boolean shouldFlush() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void dispose(boolean exception, boolean recognised)
|
||||
throws IOException {
|
||||
socket.close();
|
||||
|
||||
Reference in New Issue
Block a user