Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
SocketListener.hGo to the documentation of this file.00001 #ifndef SOCKETLISTENER_H_ 00002 #define SOCKETLISTENER_H_ 00003 00004 //! interface for notifications from Wireless 00005 class SocketListener { 00006 public: 00007 //! destructor (just to satisfy compiler warning that we do indeed intend to use this as a base class) 00008 virtual ~SocketListener() {} 00009 00010 //! called by wireless whenever new data is available on the Socket this was registered with 00011 /*! @see Wireless::setReceiver() */ 00012 virtual int processData(char *data, int bytes) = 0; 00013 }; 00014 00015 #endif |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:54:56 2007 by Doxygen 1.5.4 |