mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
15 lines
346 B
Java
15 lines
346 B
Java
package net.sf.briar.transport;
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
/** Encrypts authenticated data to be sent over a connection. */
|
|
interface ConnectionEncrypter extends FrameSink {
|
|
|
|
/** Flushes the output stream. */
|
|
void flush() throws IOException;
|
|
|
|
/** Returns the maximum number of bytes that can be written. */
|
|
long getRemainingCapacity();
|
|
}
|