|
Oracle Java Wireless Client | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oracle.mobile.io.accesspoint.AccessPointManager
public class AccessPointManager
AccessPointManager class provides the basic capabilities for retrieving information about access points.
Method Summary | |
void |
addListener(AccessPointListener listener)
Registers listener for access point related events |
AccessPoint |
getAccessPointById(int id)
Factory method to get access point by Id. |
AccessPoint |
getAccessPointFromConnection(javax.microedition.io.Connection c)
Gets the access point used in the specified connection. |
AccessPoint[] |
getAllAccessPoints()
Get all access points defined in the system. |
AccessPoint |
getDefaultAccessPoint()
Returns the access point to be used for all suite connection for which access point was not specified explicitly. |
static AccessPointManager |
getInstance()
|
void |
removeListener(AccessPointListener listener)
Removes listener for access point related events |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static AccessPointManager getInstance()
public void addListener(AccessPointListener listener)
listener
- AccessPointListener object to receive notifications
about access pointspublic void removeListener(AccessPointListener listener)
listener
- access point listener to removepublic AccessPoint[] getAllAccessPoints()
public AccessPoint getDefaultAccessPoint()
public AccessPoint getAccessPointById(int id)
id
- the id of the access point
public AccessPoint getAccessPointFromConnection(javax.microedition.io.Connection c) throws java.io.IOException
c
- network Connection instance to get access point
java.io.IOException
- if any I/O error occurs
java.lang.IllegalArgumentException
- it c is not a network connection
|
Oracle Java Wireless Client | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |