mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
16 lines
338 B
Java
16 lines
338 B
Java
package net.sf.briar.transport;
|
|
|
|
import java.io.IOException;
|
|
|
|
interface OutgoingReliabilityLayer {
|
|
|
|
/** Writes the given frame. */
|
|
void writeFrame(Frame f) throws IOException;
|
|
|
|
/** Flushes the stack. */
|
|
void flush() throws IOException;
|
|
|
|
/** Returns the maximum number of bytes that can be written. */
|
|
long getRemainingCapacity();
|
|
}
|