Class Descriptions
<<Interface>>
StreamConnectionNotifier
<<Interface>>
InputConnection
Since all the additional communication protocols have been added to the Generic
Connection Framework, the access methods and parameters are very similar. The main
calls are to the
different compile time parameters. The commonality between the three static methods is
the first parameter in their signatures. This particular runtime parameter accepts
Strings
the list of method signatures:
Connector.open(String URL) - default READ_WRITE, no timeout.
Connector.open(String URL, int mode) - defaults to no timeout.
Connector.open(String URL, int mode, Boolean timeout)
- String URL –
as described in RFC 2396 for all networking protocols.
- int mode –
<<Interface>>
Connection
<<Interface>>
StreamConnection
<<Interface>>
Content Co nnection
<<Interface>>
HttpConnection
class, which provides three static methods that accept
Connector
formatted in the standard Uniform Resource Locator format. The following is
parameter string describing the target conforms to the URL format
READ/WRITE/READ_WRITE
<<Interface>>
DatagramConnection
<<Inte rface>>
OutputConnection