org.openmuc.core.driver
Interface DataReceivedListener

All Known Implementing Classes:
Reader

public interface DataReceivedListener

With this interface a device driver can communicate with the readout process.


Field Summary
static int INVALID_DATA
           
static int METER_NOT_AVAILABLE
           
static int NO_DATA_AVAILABLE
           
static int NO_SUCH_INTERFACE
           
static int TIMEOUT
           
 
Method Summary
 void dataReceived(java.lang.Object handle, java.util.List<Measurement> data)
           
 void readoutError(java.lang.Object handle, int errorCode)
           
 

Field Detail

TIMEOUT

static final int TIMEOUT
See Also:
Constant Field Values

NO_DATA_AVAILABLE

static final int NO_DATA_AVAILABLE
See Also:
Constant Field Values

NO_SUCH_INTERFACE

static final int NO_SUCH_INTERFACE
See Also:
Constant Field Values

METER_NOT_AVAILABLE

static final int METER_NOT_AVAILABLE
See Also:
Constant Field Values

INVALID_DATA

static final int INVALID_DATA
See Also:
Constant Field Values
Method Detail

dataReceived

void dataReceived(java.lang.Object handle,
                  java.util.List<Measurement> data)

readoutError

void readoutError(java.lang.Object handle,
                  int errorCode)