Minor refactoring.

This commit is contained in:
akwizgran
2011-12-02 16:32:50 +00:00
parent 6752781835
commit ab722f9371
11 changed files with 37 additions and 53 deletions

View File

@@ -9,8 +9,8 @@ interface ConnectionEncrypter {
/** Returns an output stream to which unencrypted data can be written. */
OutputStream getOutputStream();
/** Encrypts and writes the MAC for the current frame. */
void writeMac(byte[] mac) throws IOException;
/** Encrypts and writes the remainder of the current frame. */
void writeFinal(byte[] b) throws IOException;
/** Returns the maximum number of bytes that can be written. */
long getRemainingCapacity();