Files
briar/components/net/sf/briar/transport/FrameWriter.java
akwizgran 6da30ca486 Plan B: Remove error correction and reliability layers and the
consequent distinction between segments and frames.
2012-02-06 16:03:09 +00:00

16 lines
325 B
Java

package net.sf.briar.transport;
import java.io.IOException;
interface FrameWriter {
/** 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();
}