com.devexperts.qd
Interface DataListener

All Known Implementing Classes:
LoggedDataListener

public interface DataListener

The DataListener is used to receive notifications about data availability in the corresponding data providers.

Generally, the notification is issued only if provider transforms from 'empty' state into 'available' state at some moment after transition. In other cases notification is not issued, though certain exclusions exist. The notification is issued in a state that allows listener to perform potentially costly operations like event scheduling, synchronization, or farther notification.


Field Summary
static DataListener VOID
          This listener immediately retrieves and discards data from provider.
 
Method Summary
 void dataAvailable(DataProvider provider)
          Notifies this listener that data is available in the specified data provider.
 

Field Detail

VOID

static final DataListener VOID
This listener immediately retrieves and discards data from provider.

Method Detail

dataAvailable

void dataAvailable(DataProvider provider)
Notifies this listener that data is available in the specified data provider.