Oracle Java Wireless Client

com.oracle.mobile.io.accesspoint
Interface AccessPointListener


public interface AccessPointListener

This interface is used by applications which need to receive access point related events from the implementation. To receive notifications from system application should register listener using AccessPointManager.addListener().


Field Summary
static int ACCESS_POINT_AVAILABLE_EVENT
          Indicates that access point became available
static int ACCESS_POINT_CONNECTED_EVENT
          Indicates the access point is connected
static int ACCESS_POINT_DISCONNECTED_EVENT
          Indicates the access point is disconnected
static int ACCESS_POINT_UNAVAILABLE_EVENT
          Indicates that access point became unavailable
 
Method Summary
 void accessPointEventNotify(AccessPoint ap, int eventType)
          Invoked when some access point related event occurs.
 

Field Detail

ACCESS_POINT_AVAILABLE_EVENT

static final int ACCESS_POINT_AVAILABLE_EVENT
Indicates that access point became available

See Also:
Constant Field Values

ACCESS_POINT_UNAVAILABLE_EVENT

static final int ACCESS_POINT_UNAVAILABLE_EVENT
Indicates that access point became unavailable

See Also:
Constant Field Values

ACCESS_POINT_CONNECTED_EVENT

static final int ACCESS_POINT_CONNECTED_EVENT
Indicates the access point is connected

See Also:
Constant Field Values

ACCESS_POINT_DISCONNECTED_EVENT

static final int ACCESS_POINT_DISCONNECTED_EVENT
Indicates the access point is disconnected

See Also:
Constant Field Values
Method Detail

accessPointEventNotify

void accessPointEventNotify(AccessPoint ap,
                            int eventType)
Invoked when some access point related event occurs.

Parameters:
ap - access point
eventType - type of the occurred event

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.