~ubuntu-branches/debian/experimental/arduino/experimental

« back to all changes in this revision

Viewing changes to libraries/Ethernet/Server.h

  • Committer: Package Import Robot
  • Author(s): Scott Howard
  • Date: 2012-03-11 18:19:42 UTC
  • mfrom: (1.1.5) (5.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20120311181942-be2clnbz1gcehixb
Tags: 1:1.0.1~rc1+dfsg-1
New upstream release, experimental.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef server_h
2
 
#define server_h
3
 
 
4
 
#include "Print.h"
5
 
 
6
 
class Client;
7
 
 
8
 
class Server : 
9
 
public Print {
10
 
private:
11
 
  uint16_t _port;
12
 
  void accept();
13
 
public:
14
 
  Server(uint16_t);
15
 
  Client available();
16
 
  void begin();
17
 
  virtual void write(uint8_t);
18
 
  virtual void write(const char *str);
19
 
  virtual void write(const uint8_t *buf, size_t size);
20
 
};
21
 
 
22
 
#endif