javax.microedition.io
Interface Connection

All Known Subinterfaces:
CommConnection, ContentConnection, DatagramConnection, HttpConnection, HttpsConnection, InputConnection, MessageConnection, OutputConnection, PositionConnection, SecureConnection, ServerSocketConnection, SocketConnection, StreamConnection, StreamConnectionNotifier, UDPDatagramConnection

public interface Connection

This is the most basic type of generic connection. Only the close method is defined.


Method Summary
 void close()
          Close the connection to the target.
 

Method Detail

close

public void close()
           throws IOException
Close the connection to the target.

Throws:
IOException - If an I/O error occurs