More refactoring to connect ConnectionRecogniser to ConnectionReader.

Added TestDatabaseModule so tests can specify their own DB
configuration. The modules are currently too tightly coupled - see
whether any dependencies can be removed.
This commit is contained in:
akwizgran
2011-09-28 14:21:38 +01:00
parent 4aff0c4f88
commit a1b664b639
30 changed files with 260 additions and 191 deletions

View File

@@ -13,5 +13,5 @@ interface ConnectionEncrypter {
void writeMac(byte[] mac) throws IOException;
/** Returns the maximum number of bytes that can be written. */
long getCapacity();
long getRemainingCapacity();
}