001package jmri.jmrix.ieee802154.xbee; 002 003/** 004 * Interface to send/receive xbee information 005 * 006 * @author Bob Jacobsen Copyright (C) 2001, 2006, 2007, 2008 007 */ 008interface XBeeInterface { 009 010 void addXBeeListener(XBeeListener l); 011 012 void removeXBeeListener(XBeeListener l); 013 014 //boolean status(); // true if the implementation is operational 015 void sendXBeeMessage(XBeeMessage m, XBeeListener l); // 2nd arg gets the reply 016} 017 018 019