diff --git a/Jupiter/ArrayList.h b/Jupiter/ArrayList.h index 964b860..4890366 100644 --- a/Jupiter/ArrayList.h +++ b/Jupiter/ArrayList.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _ARRAYLIST_H_HEADER diff --git a/Jupiter/Base64.cpp b/Jupiter/Base64.cpp index 49ead92..654e27b 100644 --- a/Jupiter/Base64.cpp +++ b/Jupiter/Base64.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "Base64.h" diff --git a/Jupiter/Base64.h b/Jupiter/Base64.h index 437e028..22c15fe 100644 --- a/Jupiter/Base64.h +++ b/Jupiter/Base64.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _BASE64_H_HEADER diff --git a/Jupiter/Base64C.c b/Jupiter/Base64C.c index 7449f1c..a550636 100644 --- a/Jupiter/Base64C.c +++ b/Jupiter/Base64C.c @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "Base64.h" diff --git a/Jupiter/CString.h b/Jupiter/CString.h index 9e333e9..84bd562 100644 --- a/Jupiter/CString.h +++ b/Jupiter/CString.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _CSTRING_H_HEADER diff --git a/Jupiter/CString_Imp.h b/Jupiter/CString_Imp.h index 811be7f..8f54edb 100644 --- a/Jupiter/CString_Imp.h +++ b/Jupiter/CString_Imp.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _CSTRING_IMP_H_HEADER diff --git a/Jupiter/Command.cpp b/Jupiter/Command.cpp index 4c0c9b7..b09ec3c 100644 --- a/Jupiter/Command.cpp +++ b/Jupiter/Command.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include diff --git a/Jupiter/Command.h b/Jupiter/Command.h index e8ed406..6d618e7 100644 --- a/Jupiter/Command.h +++ b/Jupiter/Command.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _COMMAND_H_HEADER diff --git a/Jupiter/DLList.h b/Jupiter/DLList.h index 4ea9793..be9c096 100644 --- a/Jupiter/DLList.h +++ b/Jupiter/DLList.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _DLLIST_H_HEADER diff --git a/Jupiter/DataBuffer.cpp b/Jupiter/DataBuffer.cpp index 23eebe8..f3350a4 100644 --- a/Jupiter/DataBuffer.cpp +++ b/Jupiter/DataBuffer.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2015 Justin James. + * Copyright (C) 2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include diff --git a/Jupiter/DataBuffer.h b/Jupiter/DataBuffer.h index 773ae2e..5542c49 100644 --- a/Jupiter/DataBuffer.h +++ b/Jupiter/DataBuffer.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2015 Justin James. + * Copyright (C) 2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _DATABUFFER_H_HEADER diff --git a/Jupiter/DataBuffer_Imp.h b/Jupiter/DataBuffer_Imp.h index 26fdd3d..75ae8f4 100644 --- a/Jupiter/DataBuffer_Imp.h +++ b/Jupiter/DataBuffer_Imp.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2015 Justin James. + * Copyright (C) 2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _DATABUFFER_IMP_H_HEADER diff --git a/Jupiter/Database.cpp b/Jupiter/Database.cpp index 337ae36..0da7a64 100644 --- a/Jupiter/Database.cpp +++ b/Jupiter/Database.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2015 Justin James. + * Copyright (C) 2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "Database.h" diff --git a/Jupiter/Database.h b/Jupiter/Database.h index 5ff29fb..e8bd7bd 100644 --- a/Jupiter/Database.h +++ b/Jupiter/Database.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2015 Justin James. + * Copyright (C) 2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _DATABASE_H_HEADER diff --git a/Jupiter/File.cpp b/Jupiter/File.cpp index bc64de4..48e453c 100644 --- a/Jupiter/File.cpp +++ b/Jupiter/File.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include diff --git a/Jupiter/File.h b/Jupiter/File.h index 1f62b9f..f55cd4c 100644 --- a/Jupiter/File.h +++ b/Jupiter/File.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _FILE_H_HEADER diff --git a/Jupiter/Functions.c b/Jupiter/Functions.c index 208f18b..7d13074 100644 --- a/Jupiter/Functions.c +++ b/Jupiter/Functions.c @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include // malloc diff --git a/Jupiter/Functions.h b/Jupiter/Functions.h index d94073f..409018f 100644 --- a/Jupiter/Functions.h +++ b/Jupiter/Functions.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _FUNCTIONS_H_HEADER diff --git a/Jupiter/HTTP.h b/Jupiter/HTTP.h new file mode 100644 index 0000000..6210c5b --- /dev/null +++ b/Jupiter/HTTP.h @@ -0,0 +1,176 @@ +/** + * Copyright (C) 2015 Jessica James. + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Written by Jessica James + */ + +#if !defined _HTTP_H_HEADER +#define _HTTP_H_HEADER + +/** + * @file HTTP.h + * @brief Defines constants related to HTTP + */ + +#include "Reference_String.h" + +namespace Jupiter +{ + namespace HTTP + { + /** + * @brief HTTP status codes + */ + namespace Status + { + /** Informational (1xx) */ + static const int CONTINUE = 100; + static const int SWITCHING_PROTOCOLS = 101; + static const int PROCESSING = 102; // RFC 2518 + + /** Success (2xx) */ + static const int OK = 200; + static const int CREATED = 201; + static const int ACCEPTED = 202; + static const int NONAUTH_INFO = 203; // HTTP/1.1 + static const int NO_CONTENT = 204; + static const int RESET_CONTENT = 205; + static const int PARTIAL_CONTENT = 206; // RFC 7233 + static const int MULTI_STATUS = 207; // RFC 4918 + static const int ALREADY_REPORTED = 208; // RFC 5842 + static const int IM_USED = 226; // RFC 3229 + + /** Redirection (3xx) */ + static const int MULTIPLE_CHOICES = 300; + static const int MOVED_PERMANENTLY = 301; + static const int FOUND = 302; + static const int SEE_OTHER = 303; // HTTP/1.1 + static const int NOT_MODIFIED = 304; // RFC 7232 + static const int USE_PROXY = 305; // HTTP/1.1 + static const int SWITCH_PROXY = 306; // No longer used + static const int TEMPORARY_REDIRECT = 307; // HTTP/1.1 + static const int PERMANENT_REDIRECT = 308; // RFC 7538 + static const int RESUME_INCOMPLETE = 308; // Google + + /** Client Error (4xx) */ + static const int BAD_REQUEST = 400; + static const int UNAUTHORIZED = 401; // RFC 7235 + static const int PAYMENT_REQUIRED = 402; + static const int FORBIDDEN = 403; + static const int NOT_FOUND = 404; + static const int METHOD_NOT_ALLOWED = 405; + static const int NOT_ACCEPTABLE = 406; + static const int PROXY_AUTHENTICATION_REQUIRED = 407; // RFC 7235 + static const int REQUEST_TIMEOUT = 408; + static const int CONFLICT = 409; + static const int GONE = 410; + static const int LENGTH_REQUIRED = 411; + static const int PRECONDITION_FAILED = 412; // RFC 7232 + static const int PAYLOAD_TOO_LARGE = 413; // RFC 7231 + static const int REQUEST_URI_TOO_LONG = 414; + static const int UNSUPPORTED_MEDIA_TYPE = 415; + static const int REQUESTED_RANGE_NOT_SATISFIABLE = 416; // RFC 7233 + static const int EXPECTATION_FAILED = 417; + static const int IM_A_TEAPOT = 418; // RFC 2324 + static const int AUTHENTICATION_TIMEOUT = 419; // Non-RFC + static const int METHOD_FAILURE = 420; // Spring Framework + static const int ENHANCE_YOUR_CALM = 420; // Twitter + static const int MISDIRECTED_REQUEST = 421; // RFC 7540 + static const int UNPROCESSABLE_ENTITY = 422; // RFC 4918 + static const int LOCKED = 423; // RFC 4918 + static const int FAILED_DEPENDENCY = 424; // RFC 4918 + static const int UPGRADE_REQUIRED = 426; + static const int PRECONDITION_REQUIRED = 428; // RFC 6585 + static const int TOO_MANY_REQUESTS = 429; // RFC 6585 + static const int REQUEST_HEADER_FIELDS_TOO_LARGE = 431; // RFC 6585 + static const int LOGIN_TIMEOUT = 440; // Microsoft + static const int NO_RESPONSE = 444; // Nginx + static const int RETRY_WITH = 449; // Microsoft + static const int BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS = 450; // Microsoft + static const int UNAVAILABLE_FOR_LEGAL_REASONS = 451; // "A New HTTP Status Code for Legally-restricted Resources" + static const int REDIRECT = 451; // Microsoft + static const int REQUEST_HEADER_TOO_LARGE = 494; // Nginx + static const int CERT_ERROR = 495; // Nginx + static const int NO_CERT = 496; // Nginx + static const int HTTP_TO_HTTPS = 497; // Nginx + static const int TOKEN_INVALID = 498; // Esri + static const int CLIENT_CLOSED_REQUEST = 499; // Nginx + static const int TOKEN_REQUIRED = 499; // Esri + + /** Server Error (5xx) */ + static const int INTERNAL_SERVER_ERROR = 500; + static const int NOT_IMPLEMENTED = 501; + static const int BAD_GATEWAY = 502; + static const int SERVICE_UNAVAIABLE = 503; + static const int GATEWAY_TIMEOUT = 504; + static const int HTTP_VERSION_NOT_SUPPORTED = 505; + static const int VARIANT_ALSO_NEGOTIATES = 506; // RFC 2295 + static const int INSUFFICIENT_STORAGE = 507; // RFC 4918 + static const int LOOP_DETECTED = 508; // RFC 5842 + static const int BANDWIDTH_LIMIT_EXCEEDED = 509; // Apache + static const int NOT_EXTENDED = 510; // RFC 2774 + static const int NETWORK_AUTHENTICATION_REQUIRED = 511; // RFC 6585 + static const int UNKNOWN_ERROR = 520; // Non-RFC + static const int ORIGIN_CONNECTION_TIMEOUT = 522; // CloudFlare + static const int NETWORK_READ_TIMEOUT = 598; // Microsoft + static const int NETWORK_CONNECTION_TIMEOUT = 599; // Microsoft + } // Jupiter::HTTP::Status namespace + + /** + * @brief Content-type field values + */ + namespace Content + { + /** + * @brief Content-Language values + * TODO: Implement all ISO 639-1 translations + */ + namespace Language + { + static STRING_LITERAL_AS_NAMED_REFERENCE(ENGLISH, "en"); + static STRING_LITERAL_AS_NAMED_REFERENCE(FRENCH, "fr"); + static STRING_LITERAL_AS_NAMED_REFERENCE(GERMAN, "gr"); + static STRING_LITERAL_AS_NAMED_REFERENCE(RUSSIAN, "ru"); + static STRING_LITERAL_AS_NAMED_REFERENCE(JAPANESE, "ja"); + static STRING_LITERAL_AS_NAMED_REFERENCE(CHINESE, "zh"); + } + + /** + * @brief Content-Type values + * Note: This is not an exhaustive/exclusive list of values + */ + namespace Type + { + namespace Text + { + namespace Charset + { + static STRING_LITERAL_AS_NAMED_REFERENCE(ASCII, "ascii"); + static STRING_LITERAL_AS_NAMED_REFERENCE(UTF8, "utf-8"); + } + + static STRING_LITERAL_AS_NAMED_REFERENCE(HTML, "text/html"); + static STRING_LITERAL_AS_NAMED_REFERENCE(PLAIN, "text/plain"); + } + namespace Application + { + static STRING_LITERAL_AS_NAMED_REFERENCE(OCTET_STREAM, "application/octet-stream"); + } + } + } + } // Jupiter::HTTP namespace +} // Jupiter namespace + +#endif // _HTTP_H_HEADER \ No newline at end of file diff --git a/Jupiter/HTTP_Server.cpp b/Jupiter/HTTP_Server.cpp index 647327d..6bff1a8 100644 --- a/Jupiter/HTTP_Server.cpp +++ b/Jupiter/HTTP_Server.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2015 Justin James. + * Copyright (C) 2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include diff --git a/Jupiter/HTTP_Server.h b/Jupiter/HTTP_Server.h new file mode 100644 index 0000000..6c8980d --- /dev/null +++ b/Jupiter/HTTP_Server.h @@ -0,0 +1,114 @@ +/** + * Copyright (C) 2015 Jessica James. + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Written by Jessica James + */ + +#if !defined _HTTP_SERVER_H_HEADER +#define _HTTP_SERVER_H_HEADER + +/** + * @file HTTP_Server.h + * @brief Provides an interface to distribute data using HTTP. + */ + +#include "Jupiter.h" +#include "Thinker.h" +#include "Readable_String.h" +#include "ArrayList.h" + +namespace Jupiter +{ + namespace HTTP + { + class JUPITER_API Server : public Thinker + { + public: // Jupiter::Thinker + virtual int think(); + + public: // Server + typedef Jupiter::ReadableString *HTTPFunction(const Jupiter::ReadableString ¶meters); + static const Jupiter::ReadableString &global_namespace; + static const Jupiter::ReadableString &server_string; + + struct JUPITER_API Content + { + Jupiter::HTTP::Server::HTTPFunction *function; // function to generate content data + Jupiter::StringS name; // name of the content + unsigned int name_checksum; // name.calcChecksum() + const Jupiter::ReadableString *language = nullptr; // Pointer to a constant (or otherwise managed) string + const Jupiter::ReadableString *type = nullptr; // Pointer to a constant (or otherwise managed) string + const Jupiter::ReadableString *charset = nullptr; // Pointer to a constant (or otherwise managed) string + + virtual Jupiter::ReadableString *execute(const Jupiter::ReadableString ¶meters); + + Content(const Jupiter::ReadableString &in_name, Jupiter::HTTP::Server::HTTPFunction in_function); + }; + + class JUPITER_API Directory + { + public: + Jupiter::ArrayList directories; + Jupiter::ArrayList content; + Jupiter::StringS name; + unsigned int name_checksum; + + virtual void hook(const Jupiter::ReadableString &path, Content *in_content); + virtual bool remove(const Jupiter::ReadableString &name); + virtual bool has(const Jupiter::ReadableString &name); + virtual Jupiter::HTTP::Server::Content *find(const Jupiter::ReadableString &name); + virtual Jupiter::ReadableString *execute(const Jupiter::ReadableString &name, const Jupiter::ReadableString ¶meters); + + Directory(const Jupiter::ReadableString &in_name); + virtual ~Directory(); + }; + + class JUPITER_API Host : public Directory + { + public: + /*virtual bool remove(const Jupiter::ReadableString &name); + virtual bool has(const Jupiter::ReadableString &name); + virtual Jupiter::HTTP::Server::Content *find(const Jupiter::ReadableString &name); + //virtual Jupiter::HTTP::Server::Directory *find_directory(const Jupiter::ReadableString &name); + virtual Jupiter::ReadableString *execute(const Jupiter::ReadableString &name, const Jupiter::ReadableString ¶meters);*/ + + Host(const Jupiter::ReadableString &in_name); + }; + + void hook(const Jupiter::ReadableString &host, const Jupiter::ReadableString &path, Content *in_content); + bool remove(const Jupiter::ReadableString &host); + bool remove(const Jupiter::ReadableString &host, const Jupiter::ReadableString &name); + bool has(const Jupiter::ReadableString &host); + bool has(const Jupiter::ReadableString &host, const Jupiter::ReadableString &name); + Content *find(const Jupiter::ReadableString &name); + Content *find(const Jupiter::ReadableString &host, const Jupiter::ReadableString &name); + Jupiter::ReadableString *execute(const Jupiter::ReadableString &name, const Jupiter::ReadableString ¶meters); + Jupiter::ReadableString *execute(const Jupiter::ReadableString &host, const Jupiter::ReadableString &name, const Jupiter::ReadableString ¶meters); + + bool bind(const Jupiter::ReadableString &hostname, uint16_t port = 80); + bool tls_bind(const Jupiter::ReadableString &hostname, uint16_t port = 443); + + Server(); + Server(Jupiter::HTTP::Server &&source); + ~Server(); + /** Private members */ + private: + struct Data; + Data *data_; + }; // Jupiter::HTTP::Server class + } // Jupiter::HTTP namespace +} // Jupiter namespace + +#endif // _HTTP_SERVER_H_HEADER \ No newline at end of file diff --git a/Jupiter/INIFile.cpp b/Jupiter/INIFile.cpp index c6ce0ac..7dc0b23 100644 --- a/Jupiter/INIFile.cpp +++ b/Jupiter/INIFile.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include diff --git a/Jupiter/INIFile.h b/Jupiter/INIFile.h index 45419cc..e9632da 100644 --- a/Jupiter/INIFile.h +++ b/Jupiter/INIFile.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _INIFILE_H_HEADER diff --git a/Jupiter/IRC.cpp b/Jupiter/IRC.cpp index 19e3858..c6aa744 100644 --- a/Jupiter/IRC.cpp +++ b/Jupiter/IRC.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "IRC.h" diff --git a/Jupiter/IRC.h b/Jupiter/IRC.h index 37f7a46..ed34aa8 100644 --- a/Jupiter/IRC.h +++ b/Jupiter/IRC.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _IRC_H_HEADER diff --git a/Jupiter/IRC_Client.cpp b/Jupiter/IRC_Client.cpp index c536076..6282bf0 100644 --- a/Jupiter/IRC_Client.cpp +++ b/Jupiter/IRC_Client.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include diff --git a/Jupiter/IRC_Client.h b/Jupiter/IRC_Client.h index 3564459..0bf99a2 100644 --- a/Jupiter/IRC_Client.h +++ b/Jupiter/IRC_Client.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _IRC_CLIENT_H_HEADER diff --git a/Jupiter/IRC_Numerics.h b/Jupiter/IRC_Numerics.h index 6c598bb..5ae7b43 100644 --- a/Jupiter/IRC_Numerics.h +++ b/Jupiter/IRC_Numerics.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _IRC_NUMERICS_H_HEADER diff --git a/Jupiter/IRC_Server.cpp b/Jupiter/IRC_Server.cpp index cfcd6ad..2ef2dc8 100644 --- a/Jupiter/IRC_Server.cpp +++ b/Jupiter/IRC_Server.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "IRC_Server.h" diff --git a/Jupiter/IRC_Server.h b/Jupiter/IRC_Server.h index 1cc69ca..edf969c 100644 --- a/Jupiter/IRC_Server.h +++ b/Jupiter/IRC_Server.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _IRC_SERVER_H_HEADER diff --git a/Jupiter/InvalidIndex.h b/Jupiter/InvalidIndex.h index 5753425..c1798aa 100644 --- a/Jupiter/InvalidIndex.h +++ b/Jupiter/InvalidIndex.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _INVALIDINDEX_H_HEADER diff --git a/Jupiter/Jupiter.cpp b/Jupiter/Jupiter.cpp index a4dfb72..e20c633 100644 --- a/Jupiter/Jupiter.cpp +++ b/Jupiter/Jupiter.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "Jupiter.h" @@ -21,7 +21,7 @@ extern "C" { const char *Jupiter_version = JUPITER_VERSION; - const char *Jupiter_copyright = "Copyright (C) 2013-2015 Justin James. ISC License."; + const char *Jupiter_copyright = "Copyright (C) 2013-2015 Jessica James. ISC License."; } const char *Jupiter::version = Jupiter_version; diff --git a/Jupiter/Jupiter.h b/Jupiter/Jupiter.h index c26e58c..6ac7a01 100644 --- a/Jupiter/Jupiter.h +++ b/Jupiter/Jupiter.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined JUPITER_API diff --git a/Jupiter/Jupiter.rc b/Jupiter/Jupiter.rc index 276381b..f85aa48 100644 Binary files a/Jupiter/Jupiter.rc and b/Jupiter/Jupiter.rc differ diff --git a/Jupiter/Jupiter.vcxproj b/Jupiter/Jupiter.vcxproj index 9c6a10f..7b097f2 100644 --- a/Jupiter/Jupiter.vcxproj +++ b/Jupiter/Jupiter.vcxproj @@ -185,6 +185,7 @@ + @@ -215,6 +216,8 @@ + + diff --git a/Jupiter/Jupiter.vcxproj.filters b/Jupiter/Jupiter.vcxproj.filters index 4947af3..96d0ab6 100644 --- a/Jupiter/Jupiter.vcxproj.filters +++ b/Jupiter/Jupiter.vcxproj.filters @@ -49,6 +49,12 @@ {aef2e303-8a68-4cf9-8464-c4aef776d3f3} + + {790badaf-80b5-40b0-8de1-a71f4c523074} + + + {7a4d818a-481e-467c-a3e3-d6d0e7dde244} + @@ -129,6 +135,9 @@ Source Files\Files + + Source Files\HTTP + @@ -254,6 +263,12 @@ Header Files\DataBuffer + + Header Files\HTTP + + + Header Files\HTTP + diff --git a/Jupiter/List.h b/Jupiter/List.h index 94e3926..8ef6e61 100644 --- a/Jupiter/List.h +++ b/Jupiter/List.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _LIST_H_HEADER diff --git a/Jupiter/Plugin.cpp b/Jupiter/Plugin.cpp index 13121c0..b5c183a 100644 --- a/Jupiter/Plugin.cpp +++ b/Jupiter/Plugin.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include diff --git a/Jupiter/Plugin.h b/Jupiter/Plugin.h index c0aec58..fa93f0e 100644 --- a/Jupiter/Plugin.h +++ b/Jupiter/Plugin.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _PLUGIN_H_HEADER diff --git a/Jupiter/Queue.cpp b/Jupiter/Queue.cpp index ec1425e..ef46fcc 100644 --- a/Jupiter/Queue.cpp +++ b/Jupiter/Queue.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "Queue.h" diff --git a/Jupiter/Queue.h b/Jupiter/Queue.h index 04df1be..3ec450a 100644 --- a/Jupiter/Queue.h +++ b/Jupiter/Queue.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _QUEUE_H_HEADER diff --git a/Jupiter/Readable_String.h b/Jupiter/Readable_String.h index 669d01b..8529de0 100644 --- a/Jupiter/Readable_String.h +++ b/Jupiter/Readable_String.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _READABLE_STRING_H_HEADER diff --git a/Jupiter/Readable_String_Imp.h b/Jupiter/Readable_String_Imp.h index 6d94896..88e6754 100644 --- a/Jupiter/Readable_String_Imp.h +++ b/Jupiter/Readable_String_Imp.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _READABLE_STRING_IMP_H_HEADER diff --git a/Jupiter/Reference_String.h b/Jupiter/Reference_String.h index a2598a0..56dfd6c 100644 --- a/Jupiter/Reference_String.h +++ b/Jupiter/Reference_String.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _REFERENCE_STRING_H_HEADER diff --git a/Jupiter/Reference_String_Imp.h b/Jupiter/Reference_String_Imp.h index 011dd41..76bb02b 100644 --- a/Jupiter/Reference_String_Imp.h +++ b/Jupiter/Reference_String_Imp.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _REFERENCE_STRING_IMP_H_HEADER diff --git a/Jupiter/Rehash.cpp b/Jupiter/Rehash.cpp index 1df403b..7117c68 100644 --- a/Jupiter/Rehash.cpp +++ b/Jupiter/Rehash.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "Rehash.h" diff --git a/Jupiter/Rehash.h b/Jupiter/Rehash.h index 8162962..a3ad218 100644 --- a/Jupiter/Rehash.h +++ b/Jupiter/Rehash.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _REHASH_H_HEADER diff --git a/Jupiter/SLList.h b/Jupiter/SLList.h index 6ad1955..a18bf6d 100644 --- a/Jupiter/SLList.h +++ b/Jupiter/SLList.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _SLLIST_H_HEADER diff --git a/Jupiter/SecureSocket.cpp b/Jupiter/SecureSocket.cpp index 199b2cf..31212d9 100644 --- a/Jupiter/SecureSocket.cpp +++ b/Jupiter/SecureSocket.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include // std::move diff --git a/Jupiter/SecureSocket.h b/Jupiter/SecureSocket.h index d829616..52f9c32 100644 --- a/Jupiter/SecureSocket.h +++ b/Jupiter/SecureSocket.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _SECURESOCKET_H_HEADER diff --git a/Jupiter/Shift_String.h b/Jupiter/Shift_String.h index cb83010..632c216 100644 --- a/Jupiter/Shift_String.h +++ b/Jupiter/Shift_String.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _SHIFT_STRING_H_HEADER diff --git a/Jupiter/Shift_String_Imp.h b/Jupiter/Shift_String_Imp.h index 85e43fa..bb8e4c6 100644 --- a/Jupiter/Shift_String_Imp.h +++ b/Jupiter/Shift_String_Imp.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _SHIFT_STRING_IMP_H_HEADER diff --git a/Jupiter/Socket.cpp b/Jupiter/Socket.cpp index dfb5ad3..9532b7a 100644 --- a/Jupiter/Socket.cpp +++ b/Jupiter/Socket.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include diff --git a/Jupiter/Socket.h b/Jupiter/Socket.h index 44f9e3d..377f9d6 100644 --- a/Jupiter/Socket.h +++ b/Jupiter/Socket.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _SOCKET_H_HEADER diff --git a/Jupiter/String.h b/Jupiter/String.h index 4fddd48..cb4afb0 100644 --- a/Jupiter/String.h +++ b/Jupiter/String.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _STRING_H_HEADER diff --git a/Jupiter/String_Imp.h b/Jupiter/String_Imp.h index f763018..8fdfd31 100644 --- a/Jupiter/String_Imp.h +++ b/Jupiter/String_Imp.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _STRING_IMP_H_HEADER diff --git a/Jupiter/String_Type.h b/Jupiter/String_Type.h index 1d619a3..da35d96 100644 --- a/Jupiter/String_Type.h +++ b/Jupiter/String_Type.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _STRING_TYPE_H_HEADER diff --git a/Jupiter/String_Type_Imp.h b/Jupiter/String_Type_Imp.h index 7b62a9f..89da0c2 100644 --- a/Jupiter/String_Type_Imp.h +++ b/Jupiter/String_Type_Imp.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _STRING_TYPE_IMP_H_HEADER diff --git a/Jupiter/TCPSocket.cpp b/Jupiter/TCPSocket.cpp index 5f3cc99..94f6c69 100644 --- a/Jupiter/TCPSocket.cpp +++ b/Jupiter/TCPSocket.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include // std::move diff --git a/Jupiter/TCPSocket.h b/Jupiter/TCPSocket.h index 7b0dac4..b2a1328 100644 --- a/Jupiter/TCPSocket.h +++ b/Jupiter/TCPSocket.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _TCPSOCKET_H_HEADER diff --git a/Jupiter/Thinker.h b/Jupiter/Thinker.h index 917dd57..d4cbfa8 100644 --- a/Jupiter/Thinker.h +++ b/Jupiter/Thinker.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _THINKER_H_HEADER diff --git a/Jupiter/Timer.cpp b/Jupiter/Timer.cpp index 6d76125..c602446 100644 --- a/Jupiter/Timer.cpp +++ b/Jupiter/Timer.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "Timer.h" diff --git a/Jupiter/Timer.h b/Jupiter/Timer.h index 258cb9d..59ad266 100644 --- a/Jupiter/Timer.h +++ b/Jupiter/Timer.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2014-2015 Justin James. + * Copyright (C) 2014-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _TIMER_H_HEADER diff --git a/Jupiter/UDPSocket.cpp b/Jupiter/UDPSocket.cpp index 8dd59cf..2b09efd 100644 --- a/Jupiter/UDPSocket.cpp +++ b/Jupiter/UDPSocket.cpp @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #include "UDPSocket.h" diff --git a/Jupiter/UDPSocket.h b/Jupiter/UDPSocket.h index aa34f9d..ed579a8 100644 --- a/Jupiter/UDPSocket.h +++ b/Jupiter/UDPSocket.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Justin James. + * Copyright (C) 2013-2015 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -13,7 +13,7 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * Written by Justin James + * Written by Jessica James */ #if !defined _UDPSOCKET_H_HEADER diff --git a/Release/Jupiter.lib b/Release/Jupiter.lib index f94723c..45b63c6 100644 Binary files a/Release/Jupiter.lib and b/Release/Jupiter.lib differ