|
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.AccessPoint
public class AccessPoint
An access point is an internet connectivity configuration that is predefined on a device. An access point can represent different network profiles for the same bearer type, such as different cellular data network APNs or for different bearers that may be available on a device, such as WiFi or bluetooth.
Field Summary | |
static int |
BEARER_BLUETOOTH
Bluetooth bearer |
static int |
BEARER_CSD
Circuit Switched Data bearer |
static int |
BEARER_ETHERNET
Ethernet bearer |
static int |
BEARER_PSD
Packet Switched Data (GPRS, W-CDMA etc) bearer |
static int |
BEARER_UNKNOWN
Unknown bearer |
static int |
BEARER_WIFI
Wi-Fi bearer |
static int |
BEARER_WIMAX
WiMax bearer |
static int |
NETWORK_PRIVATE
An access point with NETWORK_PRIVATE network type can be used to access a private network. |
static int |
NETWORK_PUBLIC
An access point with NETWORK_PUBLIC network type can be used for public internet access. |
static int |
NETWORK_SERVICE_SPECIFIC
An access point with NETWORK_SERVICE_SPECIFIC network type is used for operator specific services. |
static int |
NETWORK_UNKNOWN
Unknown network type |
Method Summary | |
boolean |
equals(java.lang.Object object)
Checks if another object is "equal" to this one. |
int |
getBearerType()
Gets the bearer type of this access point. |
java.lang.String |
getHttpProxy()
Returns http proxy defined on the device for this access point or null if access point is not requires http proxy to establish connection. |
int |
getId()
Gets the id of this access point Id is unique identifier of an Access Point |
java.lang.String |
getLocalAddress()
Gets the local IP number bound to this access point as String. |
java.lang.String |
getName()
Gets the name of this access point. |
java.lang.String |
getNetworkServiceType()
Returns the service type of access point's target network or null if there is no specific service type for this network. |
int |
getNetworkType()
Returns a kind of access point's target network. |
int |
getPriority()
Gets the priority of this access point. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isAvailable()
Checks whether access point connectivity is possible. |
boolean |
isConnected()
Checks whether access point connectivity exists and it is possible to pass data using this access point. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BEARER_UNKNOWN
public static final int BEARER_CSD
public static final int BEARER_PSD
public static final int BEARER_WIFI
public static final int BEARER_WIMAX
public static final int BEARER_BLUETOOTH
public static final int BEARER_ETHERNET
public static final int NETWORK_UNKNOWN
public static final int NETWORK_PUBLIC
public static final int NETWORK_PRIVATE
public static final int NETWORK_SERVICE_SPECIFIC
Method Detail |
public int getPriority()
public java.lang.String getName()
public int getBearerType()
public int getNetworkType()
public java.lang.String getNetworkServiceType()
public boolean isAvailable()
public boolean isConnected()
public java.lang.String getHttpProxy()
public java.lang.String getLocalAddress()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- an object to compare
public int hashCode()
java.util.Hashtable
.
hashCode
in class java.lang.Object
Object.equals(java.lang.Object)
,
Hashtable
public int getId()
|
Oracle Java Wireless Client | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |