Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SocketListener.h

Go 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 v5.1CVS
Generated Mon May 9 04:58:51 2016 by Doxygen 1.6.3