Generic Connection Framework Classes and Interfaces

The javax.microedition.io package defines one class and a collection of interfaces that represent different types of content connections. The Connector class is the single concrete entity in the MIDP generic connection framework. You must use it to obtain actual connections to resources. It really contains a factory method that creates various types of connections to support different protocols.

A hierarchy of interfaces in the generic connection framework defines the abstractions that characterize the different kinds of connections supported by the connection factory. These interfaces provide methods that make it easier for applications to manipulate common types of connections.

Figure 8.2 ...

Get Wireless J2ME™ Platform Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.