CLDC 1.1.1

Package javax.microedition.io

Classes for the Generic Connection framework.

See:
          Description

Interface Summary
Connection This is the most basic type of generic connection.
ContentConnection This interface defines the stream connection over which content is passed.
Datagram This class defines an abstract interface for datagram packets.
DatagramConnection This interface defines the capabilities that a datagram connection must have.
InputConnection This interface defines the capabilities that an input stream connection must have.
OutputConnection This interface defines the capabilities that an output stream connection must have.
StreamConnection This interface defines the capabilities that a stream connection must have.
StreamConnectionNotifier This interface defines the capabilities that a connection notifier must have.
 

Class Summary
CommProtocolPermission This class represents access rights to connections via the "comm" protocol.
Connector This class is factory for creating new Connection objects.
DatagramProtocolPermission This class represents access rights to connections via the "datagram" protocol.
FileProtocolPermission This class represents access rights to connections via the "file" protocol.
GCFPermission An abstract class that is the superclass of all permissions used with the Generic Connection Framework.
HttpProtocolPermission This class represents access rights to connections via the "http" protocol.
HttpsProtocolPermission This class represents access rights to connections via the "https" protocol.
SocketProtocolPermission This class represents access rights to connections via the "socket" protocol.
SSLProtocolPermission This class represents access rights to connections via the "ssl" protocol.
 

Exception Summary
ConnectionNotFoundException This class is used to signal that a connection target cannot be found, or the protocol type is not supported.
 

Package javax.microedition.io Description

Classes for the Generic Connection framework.

The Generic Connection Framework provides a simplified mechanism for applications to use various types of I/O protocols in resource-constrained environments. I/O is performed by means of Connections obtained through the Connector factory class. Connections are dynamically created based on URIs conforming to RFC 3986, which take the general form: {scheme}:[{hier-part}][?{query}][#{fragment}].

Access to a particular protocol is controlled through subclasses of GCFPermission. For a given protocol scheme, a corresponding security permission, {Scheme}ProtocolPermission, is used to guard access to the protocol.

The Generic Connection Framework may be extended through the definition of additional protocol schemes. A specification that extends the Generic Connection Framework should define both the connection type and GCFPermission subclass associated with the new protocol in a package unique to the specification.

Please see the Connector class for more information.

Since:
CLDC 1.0

CLDC 1.1.1

Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.