From 5a0debb2fbb437ca566b027b6b4b582245def12c Mon Sep 17 00:00:00 2001 From: Noah Laptop Date: Wed, 27 Feb 2019 13:22:31 -0800 Subject: [PATCH] restructuring to separate the template based functionality from the rest of the class. --- src/SSLClient.h | 4 ++++ src/{SSLClient.cpp => SSLClientImpl.cpp} | 0 src/SSLClientImpl.h | 25 ++++++++++++++++++++++++ 3 files changed, 29 insertions(+) rename src/{SSLClient.cpp => SSLClientImpl.cpp} (100%) create mode 100644 src/SSLClientImpl.h diff --git a/src/SSLClient.h b/src/SSLClient.h index 7990a0f..158bf19 100644 --- a/src/SSLClient.h +++ b/src/SSLClient.h @@ -29,6 +29,10 @@ * simply need to start with: * SSLCLient client(ethCLient); * And then call the functions they normally would with EthernetClient using SSLCLient. + * + * This file specifically controls the class templating used to allow SSLClient to interface + * with all of the CLient-based classes. To see details on the implementations of the functions + * in SSLClient, please see {@link ./SSLClientImpl.h}. */ #include diff --git a/src/SSLClient.cpp b/src/SSLClientImpl.cpp similarity index 100% rename from src/SSLClient.cpp rename to src/SSLClientImpl.cpp diff --git a/src/SSLClientImpl.h b/src/SSLClientImpl.h new file mode 100644 index 0000000..a88cf64 --- /dev/null +++ b/src/SSLClientImpl.h @@ -0,0 +1,25 @@ +/* Copyright 2019 OSU OPEnS Lab + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of this + * software and associated documentation files (the "Software"), to deal in the Software + * without restriction, including without limitation the rights to use, copy, modify, + * merge, publish, distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef SSLClientImpl_H_ +#define SSLClientImpl_H_ + + +#endif /* SSLClientImpl_H_ */ \ No newline at end of file