Files
briar/components/net/sf/briar/transport/ConnectionEncrypter.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();
}