Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed/Server.h@35:f9f3a91fe4d4, 2017-02-20 (annotated)
- Committer:
- cassyarduino
- Date:
- Mon Feb 20 11:34:22 2017 +0100
- Revision:
- 35:f9f3a91fe4d4
- Parent:
- 1:34b5616a463d
Changes
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 |