mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
PacketWriters aren't responsible for flushing their output streams.
This commit is contained in:
@@ -29,8 +29,4 @@ public interface PacketWriter {
|
||||
void writeTransportAck(TransportAck a) throws IOException;
|
||||
|
||||
void writeTransportUpdate(TransportUpdate u) throws IOException;
|
||||
|
||||
void flush() throws IOException;
|
||||
|
||||
void close() throws IOException;
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ import java.io.OutputStream;
|
||||
|
||||
public interface PacketWriterFactory {
|
||||
|
||||
PacketWriter createPacketWriter(OutputStream out, boolean flush);
|
||||
PacketWriter createPacketWriter(OutputStream out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user