- All Superinterfaces:
- BearerControlStates
public interface BearerControlListener
extends BearerControlStates
The BearerControlListener interface defines the capabilities for receiving
bearer (e.g. GPRS/EDGE or CSD) state information. When the user wants to
receive these state events, an implementation class for the BearerControlListener
interface must be created first.
The StateChanged method of this class must contain the processing code for
different bearer states. This code shall leave the listener context as soon as possible
(i.e. running a new thread). While the callback method does not return
it cannot be called again if changes occur.
After creating an instance of the BearerControlListener class, this class
instance has to be passed as a parameter to the BearerControl.addListener
method. After that, the callback methods will be called by the runtime
system each time the state changes
occur.
- See Also:
BearerControl