UIPEthernet library for Arduino IDE, Eclipse with arduino plugin and MBED/SMeshStudio (AVR,STM32F,ESP8266,Intel ARC32,Nordic nRF51,Teensy boards,Realtek Ameba(RTL8195A,RTL8710)), ENC28j60 network chip. Compatible with Wiznet W5100 Ethernet library API. Compiled and tested on Nucleo-F302R8. Master repository is: https://github.com/UIPEthernet/UIPEthernet/
mbed/Server.h@39:deeb00b81cc9, 2018-01-23 (annotated)
- Committer:
- cassyarduino
- Date:
- Tue Jan 23 15:08:43 2018 +0100
- Revision:
- 39:deeb00b81cc9
- Parent:
- 35:f9f3a91fe4d4
Release: 2.0.4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cassyarduino | 35:f9f3a91fe4d4 | 1 | /* |
cassyarduino | 35:f9f3a91fe4d4 | 2 | Server.h - Base class that provides Server |
cassyarduino | 35:f9f3a91fe4d4 | 3 | Copyright (c) 2011 Adrian McEwen. All right reserved. |
cassyarduino | 35:f9f3a91fe4d4 | 4 | |
cassyarduino | 35:f9f3a91fe4d4 | 5 | Modified (ported to mbed) by Zoltan Hudak <hudakz@inbox.com> |
cassyarduino | 35:f9f3a91fe4d4 | 6 | |
cassyarduino | 35:f9f3a91fe4d4 | 7 | This library is free software; you can redistribute it and/or |
cassyarduino | 35:f9f3a91fe4d4 | 8 | modify it under the terms of the GNU Lesser General Public |
cassyarduino | 35:f9f3a91fe4d4 | 9 | License as published by the Free Software Foundation; either |
cassyarduino | 35:f9f3a91fe4d4 | 10 | version 2.1 of the License, or (at your option) any later version. |
cassyarduino | 35:f9f3a91fe4d4 | 11 | |
cassyarduino | 35:f9f3a91fe4d4 | 12 | This library is distributed in the hope that it will be useful, |
cassyarduino | 35:f9f3a91fe4d4 | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
cassyarduino | 35:f9f3a91fe4d4 | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
cassyarduino | 35:f9f3a91fe4d4 | 15 | Lesser General Public License for more details. |
cassyarduino | 35:f9f3a91fe4d4 | 16 | |
cassyarduino | 35:f9f3a91fe4d4 | 17 | You should have received a copy of the GNU Lesser General Public |
cassyarduino | 35:f9f3a91fe4d4 | 18 | License along with this library; if not, write to the Free Software |
cassyarduino | 35:f9f3a91fe4d4 | 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
cassyarduino | 35:f9f3a91fe4d4 | 20 | */ |
cassyarduino | 35:f9f3a91fe4d4 | 21 | #if !defined(ARDUINO_ARCH_AVR) && !defined(ARDUINO_ARCH_SAM) |
cassyarduino | 35:f9f3a91fe4d4 | 22 | |
cassyarduino | 35:f9f3a91fe4d4 | 23 | #ifndef server_h |
cassyarduino | 35:f9f3a91fe4d4 | 24 | #define server_h |
cassyarduino | 35:f9f3a91fe4d4 | 25 | |
cassyarduino | 35:f9f3a91fe4d4 | 26 | class Server |
cassyarduino | 35:f9f3a91fe4d4 | 27 | { |
cassyarduino | 35:f9f3a91fe4d4 | 28 | public: |
cassyarduino | 35:f9f3a91fe4d4 | 29 | virtual ~Server(){}; |
cassyarduino | 35:f9f3a91fe4d4 | 30 | virtual void begin(void) = 0; |
cassyarduino | 35:f9f3a91fe4d4 | 31 | }; |
cassyarduino | 35:f9f3a91fe4d4 | 32 | #endif |
cassyarduino | 35:f9f3a91fe4d4 | 33 | #endif |