com.digi.xbee.api.listeners

## Interface IDataReceiveListener

-     public interface IDataReceiveListener

  This interface defines the required methods that should be implemented to behave as a data listener and be notified when new data is received from a remote XBee device of the network.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `dataReceived(XBeeMessage xbeeMessage)` Called when data is received from a remote node of the network.

- - ### Method Detail

    - #### dataReceived

          void dataReceived(XBeeMessage xbeeMessage)

      Called when data is received from a remote node of the network.
      Parameters:
        `xbeeMessage` - An `XBeeMessage` object containing the data, the address of the `RemoteXBeeDevice` that sent the data and a flag indicating whether the data was sent via broadcast or not.
      See Also:
        `XBeeMessage`, `RemoteXBeeDevice`

© Copyright 2014–2014 Digi International Inc. All rights reserved.