March 2002
Intermediate to advanced
480 pages
18h 40m
English
Connection
Connection is a base interface that represents a generic
connection to a device or remote object accessed over a network. This
interface defines only a close() method. A class that
implements this interface is obtained from the open()
method of the Connector class. These connections
are already in the open state, so there is no open() method
in the Connection interface.
public interface Connection { // Public Instance Methods public abstract void close() throws java.io.IOException; }
DatagramConnection, InputConnection, OutputConnection, StreamConnectionNotifier
Connector.open()
Read now
Unlock full access