Package | Description |
---|---|
javax.microedition.io |
The Generic Connection Framework provides a simplified I/O mechanism.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CommConnection
This interface defines a logical serial port connection.
|
interface |
ContentConnection
This interface defines the stream connection over which
content is passed.
|
interface |
DatagramConnection
This interface defines the capabilities that a datagram connection
must have.
|
interface |
HttpConnection
This interface defines the necessary methods and constants
for an HTTP connection.
|
interface |
HttpsConnection
This interface defines the necessary methods
and constants to establish a secure network connection.
|
interface |
InputConnection
This interface defines the capabilities that an input stream
connection must have.
|
interface |
ModemConnection
Abstraction of a modem interface which allows to monitor and control the
signal lines on a serial interface.
|
interface |
OutputConnection
This interface defines the capabilities that an output
stream connection must have.
|
interface |
SecureConnection
This interface defines the secure socket stream connection.
|
interface |
SecureDatagramConnection
This interface defines the secure datagram connection.
|
interface |
SecureServerConnection
This interface defines the secure server socket connection.
|
interface |
ServerSocketConnection
This interface defines the server socket stream connection.
|
interface |
SocketConnection
This interface defines the socket stream connection.
|
interface |
StreamConnection
This interface defines the capabilities that a stream connection
must have.
|
interface |
StreamConnectionNotifier
This interface defines the capabilities that a connection notifier
must have.
|
interface |
UDPDatagramConnection
This interface defines a datagram connection which knows
it's local end point address.
|
interface |
UDPMulticastConnection
UDPMulticastConnection defines a multicast datagram connection bound to an IP
multicast host group.
|
Modifier and Type | Method and Description |
---|---|
static Connection |
Connector.open(java.lang.String name)
Create and open a Connection.
|
static Connection |
Connector.open(java.lang.String name,
ConnectionOption<?>... settings)
Create and open a Connection.
|
static Connection |
Connector.open(java.lang.String name,
int mode)
Create and open a Connection.
|
static Connection |
Connector.open(java.lang.String name,
int mode,
boolean timeouts)
Create and open a Connection.
|
static Connection |
Connector.open(java.lang.String name,
int mode,
boolean timeouts,
ConnectionOption<?>... settings)
Create and open a Connection.
|
static Connection |
Connector.open(java.lang.String name,
int mode,
ConnectionOption<?>... settings)
Create and open a Connection.
|
Modifier and Type | Method and Description |
---|---|
static long |
Connector.getBytesRead(Connection connection)
Returns the number of bytes, that were received using this connection.
|
static long |
Connector.getBytesWritten(Connection connection)
Returns the number of bytes, that were sent using this connection.
|
Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.