Package | Description |
---|---|
javax.microedition.io |
The Generic Connection Framework provides a simplified I/O mechanism.
|
Modifier and Type | Method and Description |
---|---|
AccessPoint |
SocketConnection.getAccessPoint()
Gets the AccessPoint for this connection.
|
AccessPoint |
HttpConnection.getAccessPoint()
Gets the AccessPoint for this connection.
|
AccessPoint |
DatagramConnection.getAccessPoint()
Gets the AccessPoint for this connection.
|
AccessPoint[] |
ServerSocketConnection.getAccessPoints()
Returns the AccessPoint(s) on which this connection is listening.
|
static AccessPoint[] |
AccessPoint.getAccessPoints(boolean connectedOnly)
Returns the existing AccessPoints.
|
AccessPoint[] |
NetworkInterface.getConnectedAccessPoints()
Returns the AccessPoints connected on the NetworkInterface.
|
static AccessPoint |
AccessPoint.of(java.lang.String type,
ConnectionOption... options)
Returns an AccessPoint for a network type with the required ConnectionOptions.
|
Modifier and Type | Method and Description |
---|---|
void |
NetworkInterface.connect(AccessPoint accessPoint)
Connects the AccessPoint using this NetworkInterface.
|
boolean |
NetworkInterface.disconnect(AccessPoint accessPoint)
Disconnects an AccessPoint from this NetworkInterface.
|
void |
AccessPointListener.notifyEvent(AccessPoint accessPoint,
int eventType)
Called when a state change occurs on the AccessPoint.
|
static boolean |
AccessPoint.remove(AccessPoint accessPoint)
Remove the AccessPoint.
|
Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.