Updated gmail plugin and unit test, removed unused class.

This commit is contained in:
Daryl
2012-09-07 16:40:39 +08:00
parent 59dc065c55
commit 0fa945a7ed
5 changed files with 179 additions and 171 deletions

View File

@@ -18,6 +18,7 @@ public interface SimplexTransportReader {
* argument indicates whether the reader is being closed because of an
* exception and the second argument indicates whether the connection was
* recognised, which may affect how resources are disposed of.
* @throws IOException
*/
void dispose(boolean exception, boolean recognised);
void dispose(boolean exception, boolean recognised) throws IOException;
}

View File

@@ -25,6 +25,7 @@ public interface SimplexTransportWriter {
* Closes the writer and disposes of any associated resources. The
* argument indicates whether the writer is being closed because of an
* exception, which may affect how resources are disposed of.
* @throws IOException
*/
void dispose(boolean exception);
void dispose(boolean exception) throws IOException;
}