Pulled out Server API into the NetServer base class, and a few minor changes to get the NetClient API to work well with the WiFly library

This commit is contained in:
amcewen 2011-03-31 16:19:17 +01:00
parent e011dab7b4
commit e852be3e97
2 changed files with 11 additions and 2 deletions

View File

@ -20,8 +20,6 @@ public:
virtual void flush() = 0;
virtual void stop() = 0;
virtual uint8_t connected() = 0;
virtual uint8_t operator==(int) = 0;
virtual uint8_t operator!=(int) = 0;
virtual operator bool() = 0;
};

11
cores/arduino/NetServer.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef netserver_h
#define netserver_h
class NetClient;
class NetServer {
public:
virtual void begin() =0;
};
#endif