mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Implemented incoming and outgoing batch connections (untested).
This commit is contained in:
@@ -4,6 +4,8 @@ import java.io.IOException;
|
||||
|
||||
public interface ProtocolReader {
|
||||
|
||||
boolean eof() throws IOException;
|
||||
|
||||
boolean hasAck() throws IOException;
|
||||
Ack readAck() throws IOException;
|
||||
|
||||
|
||||
@@ -17,5 +17,5 @@ public interface BatchTransportReader {
|
||||
* be called even if the reader is not used, or if an exception is thrown
|
||||
* while using the reader.
|
||||
*/
|
||||
void close() throws IOException;
|
||||
void dispose() throws IOException;
|
||||
}
|
||||
|
||||
@@ -20,5 +20,5 @@ public interface BatchTransportWriter {
|
||||
* be called even if the writer is not used, or if an exception is thrown
|
||||
* while using the writer.
|
||||
*/
|
||||
void close() throws IOException;
|
||||
void dispose() throws IOException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user