mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Refactored transport component and renamed WritersModule.
The goal of the refactoring was to clean up the dependencies of IncomingBatchConnection and OutgoingBatchConnection.
This commit is contained in:
@@ -12,9 +12,6 @@ interface ConnectionEncrypter {
|
||||
/** Encrypts and writes the MAC for the current frame. */
|
||||
void writeMac(byte[] mac) throws IOException;
|
||||
|
||||
/**
|
||||
* Returns the number of bytes that can be encrypted without outputting
|
||||
* more than the given number of bytes, including encryption overhead.
|
||||
*/
|
||||
long getCapacity(long capacity);
|
||||
/** Returns the maximum number of bytes that can be written. */
|
||||
long getCapacity();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user