com.digi.xbee.api.listeners

## Interface IPacketReceiveListener

-     public interface IPacketReceiveListener

  This interface defines the required methods that an object should implement to behave as a packet listener and be notified when new packets are received from a remote XBee device of the network.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `packetReceived(XBeePacket receivedPacket)` Called when an XBee packet is received through the connection interface.

- - ### Method Detail

    - #### packetReceived

          void packetReceived(XBeePacket receivedPacket)

      Called when an XBee packet is received through the connection interface.
      Parameters:
        `receivedPacket` - The received XBee packet.
      See Also:
        `XBeePacket`, `XBeeAPIPacket`

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