FileDocCategorySizeDatePackage
DataAvailableListener.javaAPI DocphoneME MR2 API (J2ME)1751Wed May 02 18:00:00 BST 2007com.sun.midp.push.gcf

DataAvailableListener

public interface DataAvailableListener
Callback interface to inform executive that data are available.

Callbacks can be invoked only after the connection is reserved (see {@link com.sun.midp.push.gcf.ReservationDescriptor#reserve}). After MIDlet opens the connection and until it's closed explicitly or MIDlet isolate terminates no notifications are sent.

Callbacks could be invoked asynchronously (e.g. from some driver thread) and should take minimal time to run.

Fields Summary
Constructors Summary
Methods Summary
public voiddataAvailable()
Invoked when the associated reserved connection has available data.