Implemented incoming and outgoing batch connections (untested).

This commit is contained in:
akwizgran
2011-09-22 16:26:06 +01:00
parent b65d6631f1
commit 09971c8460
8 changed files with 244 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ import java.io.IOException;
public interface ProtocolReader {
boolean eof() throws IOException;
boolean hasAck() throws IOException;
Ack readAck() throws IOException;

View File

@@ -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;
}

View File

@@ -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;
}