Package ej.ecom.io
Interface Connection
-
- All Known Subinterfaces:
CommConnection,ContentConnection,DatagramConnection,InputConnection,OutputConnection,StreamConnection,StreamConnectionNotifier
public interface ConnectionThis interface defines an open Connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close the connection.
-
-
-
Method Detail
-
close
void close() throws IOExceptionClose the connection. If the connection has already been closed or a close is pending, this method does nothing. If the connection has underlying open streams, the connection will be closed only when these streams will be closed.- Throws:
IOException- if an I/O error occurs
-
-