|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Namespace for the main classes of the program. More...
Namespaces | |
| Version | |
| Namespace for version information. | |
Classes | |
| class | App |
| Main application. More... | |
| class | ConfigFile |
| Configuration file. More... | |
| class | Database |
| Class handling database access for the command-and-control and its threads. More... | |
| class | Exception |
| Base class for all exceptions thrown by the application. More... | |
| class | Server |
| The command-and-control server. More... | |
| class | SignalHandler |
| class | WebServer |
Embedded web server class using the mongoose library. More... | |
Constants | |
| constexpr auto | argsRequired {2} |
| Number of arguments required by the application. More... | |
| constexpr auto | pwPrompt1 {"Enter password for "sv} |
| First part of the password prompt. More... | |
| constexpr auto | pwPrompt2 {"@"sv} |
| Second part of the password prompt. More... | |
| constexpr auto | pwPrompt3 {":"sv} |
| Third part of the password prompt. More... | |
| constexpr auto | pwPrompt4 {": "sv} |
| Fourth part of the password prompt. More... | |
| constexpr auto | doneMsg {"[DONE]"sv} |
| Message when done with the password input. More... | |
| constexpr auto | inputBackspace {127} |
| Code for the backspace key. More... | |
| constexpr auto | inputEof {-1} |
| Code for the CTRL+C keys or the end of the file. More... | |
| constexpr auto | inputEtx {3} |
| Code for the CTRL+C keys or the end of the text. More... | |
| constexpr auto | inputEsc {27} |
| Code for the Escape key. More... | |
| constexpr auto | year {__DATE__ + 7} |
| The current year. More... | |
| constexpr auto | descName {"crawlserv++ Command-and-Control Server"sv} |
| The name of the application. More... | |
| constexpr auto | descVer {"Version "sv} |
| The beginning of the version string. More... | |
| constexpr auto | descCopyrightHead {"Copyright (C) "sv} |
| The beginning of the copyright string. More... | |
| constexpr auto | descCopyrightTail {" Anselm Schmidt (ans[ät]ohai.su)"sv} |
| The actual copyrigt. More... | |
| constexpr auto | descLicense |
| The text of the license. More... | |
| constexpr auto | descUsing {"using"sv} |
| The string before the used libraries. More... | |
| constexpr auto | descUsage {"USAGE: crawlserv <config_file> or crawlserv -v"} |
| The usage string for the command line. More... | |
| constexpr auto | sqlDir {"sql"sv} |
(Sub-)Directory for .sql files. More... | |
| constexpr auto | sqlExtension {".sql"sv} |
File extension for .sql files. More... | |
| constexpr auto | lockTimeOutSec {300} |
| Time-out on table lock in seconds. More... | |
| constexpr auto | reconnectAfterIdleMs {600000} |
| Idle time in milliseconds after which a re-connect to the database will be enforced. More... | |
| constexpr auto | sleepOnLockMs {250} |
| Sleep time in milliseconds before re-attempting to add a database lock. More... | |
| constexpr auto | maxContentSize {1073741824} |
| Maximum size of database content in bytes (= 1 GiB). More... | |
| constexpr auto | maxContentSizeString {"1 GiB"sv} |
| Maximum size of database content as string. More... | |
| constexpr auto | wwwPrefix {"www."sv} |
| "www." prefix to be ignored when checking for a domain. More... | |
| constexpr auto | numUrlListTables {6} |
| The minimum number of tables per URL list. More... | |
| constexpr auto | sqlConstraint {"CONSTRAINT "sv} |
| The MySQL keyword for a constraint, including the trailing space. More... | |
| constexpr auto | secToMs {1000} |
| The factor for converting seconds to milliseconds and vice versa. More... | |
| constexpr auto | sleepOnDeadLockMs {250} |
| Time (in ms) to sleep on SQL deadlock. More... | |
| constexpr auto | maxColumnsUrlList {6} |
| Maximum number of columns in all associated tables associated with an URL list. More... | |
| constexpr auto | numArgsAddUrl {4} |
| Number fo arguments needed for adding one URL. More... | |
| constexpr auto | cacheDir {"cache"sv} |
| The name of the (sub-)directory for the file cache. More... | |
| constexpr auto | cookieDir {"cookies"sv} |
| The name of the (sub-)directory for cookies. More... | |
| constexpr auto | downloadDir {"dl"sv} |
| The name of the (sub-)directory for downloads. More... | |
| constexpr auto | debugDir {"debug"sv} |
| The name of the (sub-)directory for debugging. More... | |
| constexpr auto | dictDir {"dict"sv} |
| The name of the (sub-)directory for dictionaries. More... | |
| constexpr auto | mdlDir {"mdl"sv} |
| The name of the (sub-)directory for language models. More... | |
| constexpr auto | webServerPollTimeOutMs {1000} |
| The timeout in milliseconds for the polling of the web server. More... | |
| constexpr auto | statusHttpCode {200} |
| The HTTP status code for GET replies indicating the status of the server. More... | |
| constexpr auto | statusHttpContentType {"text/plain"} |
| The HTTP content type for GET replies indicating the status of the server. More... | |
| constexpr auto | replyHttpCode {200} |
| The HTTP status code for POST replies. More... | |
| constexpr auto | replyHttpContentType {"application/json"} |
| The HTTP content type for POST replies. More... | |
| constexpr auto | optionsHttpCode {200} |
| The HTTP status code for OPTIONS replies. More... | |
| constexpr auto | minNameSpaceLength {3} |
| The minimum length of namespaces. More... | |
| constexpr auto | minNameSpaceLengthString {"three"sv} |
| The minimum length of namespaces, as string. More... | |
| constexpr auto | httpString {"http://"sv} |
| The beginning of URLs using the HTTP protocol. More... | |
| constexpr auto | httpsString {"https://"sv} |
| The beginning of URLs using the HTTPS protocol. More... | |
| constexpr auto | xmlWarningsDefault {25} |
| The number of XML warnings by default. More... | |
| constexpr auto | dataTypeColumnNameSeparatorShort {"_"sv} |
| The (short) separator used between data type and column name. More... | |
| constexpr auto | dataTypeColumnNameSeparatorLong {"__"sv} |
| The (long) separator used between data type and column name. More... | |
| constexpr auto | listenToAddress {"tcp://0.0.0.0:"sv} |
| The address at which to listen for incoming connections. More... | |
| constexpr auto | headerContentType {"content-type"sv} |
| The name of a (lower-case) content type header. More... | |
| constexpr auto | headerContentSize {"content-length"sv} |
| The name of a (lower-case) content size header. More... | |
| constexpr auto | headerContentEncoding {"content-encoding"sv} |
| The name of a (lower-case) content encoding header. More... | |
| constexpr auto | headerContentTypeValue {"multipart/form-data"sv} |
| The expected content type for HTTP multipart requests. More... | |
| constexpr auto | headerBoundaryBegin {"boundary="sv} |
| The beginning of the header part that contains the boundary. More... | |
| constexpr auto | httpOk {200} |
| HTTP OK response code. More... | |
| constexpr auto | filePartHeaderBegin {"content-"sv} |
| Required beginning of (lower-case) file part header. More... | |
| constexpr auto | filePartBoundaryBegin {"--"sv} |
| Required beginning of a HTTP multipart boundary. More... | |
| constexpr auto | filePartBoundaryFinalEnd {"--"sv} |
| The end of the final HTTP multipart boundary. More... | |
| constexpr auto | filePartUploadHeader {"content-disposition"sv} |
| The name of the upload header containing content information. More... | |
| constexpr auto | filePartUploadName {"name="sv} |
| The beginning of the field in the content information containing the name of the content. More... | |
| constexpr auto | filePartUploadFileName {"filename="sv} |
| The name of the content containing the original name of the file to upload. More... | |
| constexpr auto | filePartUploadField {"filetoupload"sv} |
| The (lower-case) name of the content containing file content to upload. More... | |
| constexpr auto | randFileNameLength {64} |
| The length of randomly generated file names. More... | |
| constexpr auto | quotesLength {2} |
| The length of two encapsulating quotes, in bytes. More... | |
| constexpr auto | gzipMinBytes {2000} |
| The number of minimum bytes for gzip to be used. More... | |
Constants for MySQL Queries | |
| constexpr auto | nAtOnce10 {10} |
| Ten at once. More... | |
| constexpr auto | nAtOnce100 {100} |
| One hundred at once. More... | |
| constexpr auto | nAtOnce500 {500} |
| Five hundred at once. More... | |
| constexpr auto | sqlArg1 {1} |
| First argument. More... | |
| constexpr auto | sqlArg2 {2} |
| Second argument. More... | |
| constexpr auto | sqlArg3 {3} |
| Third argument. More... | |
| constexpr auto | sqlArg4 {4} |
| Fourth argument. More... | |
| constexpr auto | sqlArg5 {5} |
| Fifth argument. More... | |
| constexpr auto | sqlArg6 {6} |
| Sixth argument. More... | |
| constexpr auto | sqlArg7 {7} |
| Seventh argument. More... | |
| constexpr auto | sqlArg8 {8} |
| Eighth argument. More... | |
| constexpr auto | sqlArg9 {9} |
| Ninth argument. More... | |
Constants for MySQL Connection Errors | |
| constexpr auto | sqlSortAborted {1027} |
| Sort aborted. More... | |
| constexpr auto | sqlTooManyConnections {1040} |
| Too many connections. More... | |
| constexpr auto | sqlCannotGetHostName {1042} |
| Cannot get host name. More... | |
| constexpr auto | sqlBadHandShake {1043} |
| Bad handshake. More... | |
| constexpr auto | sqlServerShutDown {1053} |
| Server shutdown. More... | |
| constexpr auto | sqlNormalShutdown {1077} |
| Normal shutdown. More... | |
| constexpr auto | sqlGotSignal {1078} |
| Got signal. More... | |
| constexpr auto | sqlShutDownComplete {1079} |
| Shutdown complete. More... | |
| constexpr auto | sqlForcingCloseOfThread {1080} |
| Forcing close of thread. More... | |
| constexpr auto | sqlCannotCreateIPSocket {1081} |
| Cannot create IP socket. More... | |
| constexpr auto | sqlAbortedConnection {1152} |
| Aborted connection. More... | |
| constexpr auto | sqlReadErrorFromConnectionPipe {1154} |
| Read error from connection pipe. More... | |
| constexpr auto | sqlPacketsOutOfOrder {1156} |
| Packets out of order. More... | |
| constexpr auto | sqlCouldNotUncompressPackets {1157} |
| Could not uncompress packets. More... | |
| constexpr auto | sqlErrorReadingPackets {1158} |
| Error reading packets. More... | |
| constexpr auto | sqlTimeOutReadingPackets {1159} |
| Timeout reading packets. More... | |
| constexpr auto | sqlErrorWritingPackets {1160} |
| Error writing packets. More... | |
| constexpr auto | sqlTimeOutWritingPackets {1161} |
| Timeout writing packets. More... | |
| constexpr auto | sqlNewAbortedConnection {1184} |
| New aborted connection-. More... | |
| constexpr auto | sqlNetErrorReadingFromMaster {1189} |
| Network error reading from master. More... | |
| constexpr auto | sqlNetErrorWritingToMaster {1190} |
| Network error writing to master. More... | |
| constexpr auto | sqlMoreThanMaxUserConnections {1203} |
| More than the maximum number of user connections. More... | |
| constexpr auto | sqlLockWaitTimeOutExceeded {1205} |
| Lock wait timeout exceeded. More... | |
| constexpr auto | sqlNumOfLocksExceedsLockTableSize {1206} |
| Number of locks exceeds lock table size. More... | |
| constexpr auto | sqlDeadLock {1213} |
| Deadlock. More... | |
| constexpr auto | sqlServerErrorConnectingToMaster {1218} |
| Server error connecting to master. More... | |
| constexpr auto | sqlQueryExecutionInterrupted {1317} |
| Query execution interrupted. More... | |
| constexpr auto | sqlUnableToConnectToForeignDataSource {1429} |
| Unable to connect to foreign data source. More... | |
| constexpr auto | sqlCannotConnectToServerThroughSocket {2002} |
| Cannot connect to server through socket. More... | |
| constexpr auto | sqlCannotConnectToServer {2003} |
| Cannot connect to server. More... | |
| constexpr auto | sqlUnknownServerHost {2005} |
| Unknown server host. More... | |
| constexpr auto | sqlServerHasGoneAway {2006} |
| Server has gone away. More... | |
| constexpr auto | sqlTCPError {2011} |
| TCP error. More... | |
| constexpr auto | sqlErrorInServerHandshake {2012} |
| Error in server handshake. More... | |
| constexpr auto | sqlLostConnectionDuringQuery {2013} |
| Lost connection during query. More... | |
| constexpr auto | sqlClientErrorConnectingToSlave {2024} |
| Client error connecting to slave. More... | |
| constexpr auto | sqlClientErrorConnectingToMaster {2025} |
| Client error connecting to master. More... | |
| constexpr auto | sqlSSLConnectionError {2026} |
| SSL connection error. More... | |
| constexpr auto | sqlMalformedPacket {2027} |
| Malformed packet. More... | |
| constexpr auto | sqlInvalidConnectionHandle {2048} |
| Invalid connection handle. More... | |
Constants for Other MySQL Errors | |
| constexpr auto | sqlStorageEngineError {1030} |
| Storage engine error. More... | |
| constexpr auto | sqlInsufficientPrivileges {1045} |
| Insufficient privileges. More... | |
| constexpr auto | sqlWrongArguments {1210} |
| Wrong arguments. More... | |
| constexpr auto | sqlIncorrectPath {1525} |
| Incorrect path. More... | |
Namespace for the main classes of the program.
|
inline |
Number of arguments required by the application.
Referenced by crawlservpp::Main::App::run().
|
inline |
The name of the (sub-)directory for the file cache.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The name of the (sub-)directory for cookies.
Referenced by crawlservpp::Main::Server::Server(), and crawlservpp::Main::Server::tick().
|
inline |
The (long) separator used between data type and column name.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The (short) separator used between data type and column name.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The name of the (sub-)directory for debugging.
|
inline |
The beginning of the copyright string.
Referenced by crawlservpp::Main::App::run().
|
inline |
The actual copyrigt.
Referenced by crawlservpp::Main::App::run().
|
inline |
The text of the license.
Referenced by crawlservpp::Main::App::run().
|
inline |
The name of the application.
Referenced by crawlservpp::Main::App::run().
|
inline |
The usage string for the command line.
Referenced by crawlservpp::Main::App::run().
|
inline |
The string before the used libraries.
Referenced by crawlservpp::Main::App::run().
|
inline |
The beginning of the version string.
Referenced by crawlservpp::Main::App::run().
|
inline |
The name of the (sub-)directory for dictionaries.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
Message when done with the password input.
Referenced by crawlservpp::Main::App::run().
|
inline |
The name of the (sub-)directory for downloads.
Referenced by crawlservpp::Main::Server::Server().
|
inline |
Required beginning of a HTTP multipart boundary.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The end of the final HTTP multipart boundary.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
Required beginning of (lower-case) file part header.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The (lower-case) name of the content containing file content to upload.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The name of the content containing the original name of the file to upload.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The name of the upload header containing content information.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The beginning of the field in the content information containing the name of the content.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The number of minimum bytes for gzip to be used.
Referenced by crawlservpp::Main::WebServer::send().
|
inline |
The beginning of the header part that contains the boundary.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The name of a (lower-case) content encoding header.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The name of a (lower-case) content size header.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The name of a (lower-case) content type header.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The expected content type for HTTP multipart requests.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
HTTP OK response code.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The beginning of URLs using the HTTPS protocol.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The beginning of URLs using the HTTP protocol.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
Code for the backspace key.
Referenced by crawlservpp::Main::App::run().
|
inline |
Code for the CTRL+C keys or the end of the file.
Referenced by crawlservpp::Main::App::run().
|
inline |
Code for the Escape key.
Referenced by crawlservpp::Main::App::run().
|
inline |
Code for the CTRL+C keys or the end of the text.
Referenced by crawlservpp::Main::App::run().
|
inline |
The address at which to listen for incoming connections.
The specified port will be appended.
Referenced by crawlservpp::Main::WebServer::initHTTP().
|
inline |
Time-out on table lock in seconds.
Referenced by crawlservpp::Main::Database::connect().
|
inline |
Maximum number of columns in all associated tables associated with an URL list.
Referenced by crawlservpp::Main::Database::addUrlList().
|
inline |
Maximum size of database content in bytes (= 1 GiB).
Referenced by crawlservpp::Main::Database::connect(), crawlservpp::Main::Database::insertCustomData(), and crawlservpp::Main::Database::updateCustomData().
|
inline |
Maximum size of database content as string.
Referenced by crawlservpp::Main::Database::insertCustomData(), and crawlservpp::Main::Database::updateCustomData().
|
inline |
The name of the (sub-)directory for language models.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The minimum length of namespaces.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The minimum length of namespaces, as string.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
Ten at once.
Referenced by crawlservpp::Main::Database::moveWebsite().
|
inline |
One hundred at once.
Referenced by crawlservpp::Main::Database::deleteUrls(), and crawlservpp::Main::Database::moveWebsite().
|
inline |
Five hundred at once.
Referenced by crawlservpp::Main::Database::mergeUrls().
|
inline |
Number fo arguments needed for adding one URL.
Referenced by crawlservpp::Main::Database::mergeUrls().
|
inline |
The minimum number of tables per URL list.
Referenced by crawlservpp::Main::Database::moveWebsite().
|
inline |
The HTTP status code for OPTIONS replies.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
First part of the password prompt.
Referenced by crawlservpp::Main::App::run().
|
inline |
Second part of the password prompt.
Referenced by crawlservpp::Main::App::run().
|
inline |
Third part of the password prompt.
Referenced by crawlservpp::Main::App::run().
|
inline |
Fourth part of the password prompt.
Referenced by crawlservpp::Main::App::run().
|
inline |
The length of two encapsulating quotes, in bytes.
Referenced by crawlservpp::Main::WebServer::getIP().
|
inline |
The length of randomly generated file names.
Referenced by crawlservpp::Main::WebServer::getIP(), and crawlservpp::Main::Server::tick().
|
inline |
Idle time in milliseconds after which a re-connect to the database will be enforced.
Referenced by crawlservpp::Main::Database::checkConnection().
|
inline |
The HTTP status code for POST replies.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The HTTP content type for POST replies.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The factor for converting seconds to milliseconds and vice versa.
Referenced by crawlservpp::Main::Database::checkConnection().
|
inline |
Time (in ms) to sleep on SQL deadlock.
Referenced by crawlservpp::Main::Database::sqlExecute(), crawlservpp::Main::Database::sqlExecuteQuery(), and crawlservpp::Main::Database::sqlExecuteUpdate().
|
inline |
Sleep time in milliseconds before re-attempting to add a database lock.
Referenced by crawlservpp::Main::Database::addDatabaseLock().
|
inline |
Aborted connection.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
First argument.
Referenced by crawlservpp::Main::Database::addConfiguration(), crawlservpp::Main::Database::addOrUpdateTargetTable(), crawlservpp::Main::Database::addQuery(), crawlservpp::Main::Database::addThread(), crawlservpp::Main::Database::addUrlList(), crawlservpp::Main::Database::addWebsite(), crawlservpp::Main::Database::clearLogs(), crawlservpp::Main::Database::deleteConfiguration(), crawlservpp::Main::Database::deleteQuery(), crawlservpp::Main::Database::deleteTargetTable(), crawlservpp::Main::Database::deleteThread(), crawlservpp::Main::Database::deleteUrlList(), crawlservpp::Main::Database::deleteWebsite(), crawlservpp::Main::Database::duplicateConfiguration(), crawlservpp::Main::Database::duplicateQuery(), crawlservpp::Main::Database::duplicateWebsite(), crawlservpp::Main::Database::getColumnType(), crawlservpp::Main::Database::getConfiguration(), crawlservpp::Main::Database::getNumberOfLogEntries(), crawlservpp::Main::Database::getQueryProperties(), crawlservpp::Main::Database::getTargetTableId(), crawlservpp::Main::Database::getTargetTableName(), crawlservpp::Main::Database::getTargetTables(), crawlservpp::Main::Database::getThreadPauseTime(), crawlservpp::Main::Database::getThreadRunTime(), crawlservpp::Main::Database::getUrlListNamespace(), crawlservpp::Main::Database::getUrlListNamespaceFromTargetTable(), crawlservpp::Main::Database::getUrlLists(), crawlservpp::Main::Database::getWebsiteDataDirectory(), crawlservpp::Main::Database::getWebsiteDomain(), crawlservpp::Main::Database::getWebsiteFromUrlList(), crawlservpp::Main::Database::getWebsiteNamespace(), crawlservpp::Main::Database::getWebsiteNamespaceFromConfig(), crawlservpp::Main::Database::getWebsiteNamespaceFromTargetTable(), crawlservpp::Main::Database::insertCustomData(), crawlservpp::Main::Database::isColumnExists(), crawlservpp::Main::Database::isConfiguration(), crawlservpp::Main::Database::isCorpus(), crawlservpp::Main::Database::isQuery(), crawlservpp::Main::Database::isTableExists(), crawlservpp::Main::Database::isTargetTable(), crawlservpp::Main::Database::isUrlList(), crawlservpp::Main::Database::isUrlListCaseSensitive(), crawlservpp::Main::Database::isUrlListNamespace(), crawlservpp::Main::Database::isWebsite(), crawlservpp::Main::Database::isWebsiteNamespace(), crawlservpp::Main::Database::log(), crawlservpp::Main::Database::mergeUrls(), crawlservpp::Main::Database::moveQuery(), crawlservpp::Main::Database::setThreadPauseTime(), crawlservpp::Main::Database::setThreadRunTime(), crawlservpp::Main::Database::setThreadStatus(), crawlservpp::Main::Database::setUrlListCaseSensitive(), crawlservpp::Main::Database::update(), crawlservpp::Main::Database::updateConfiguration(), crawlservpp::Main::Database::updateCustomData(), crawlservpp::Main::Database::updateQuery(), crawlservpp::Main::Database::updateUrlList(), and crawlservpp::Main::Database::updateWebsite().
|
inline |
Second argument.
Referenced by crawlservpp::Main::Database::addConfiguration(), crawlservpp::Main::Database::addOrUpdateTargetTable(), crawlservpp::Main::Database::addQuery(), crawlservpp::Main::Database::addThread(), crawlservpp::Main::Database::addUrlList(), crawlservpp::Main::Database::addWebsite(), crawlservpp::Main::Database::getColumnType(), crawlservpp::Main::Database::getTargetTableId(), crawlservpp::Main::Database::isColumnExists(), crawlservpp::Main::Database::isConfiguration(), crawlservpp::Main::Database::isQuery(), crawlservpp::Main::Database::isTableExists(), crawlservpp::Main::Database::isTargetTable(), crawlservpp::Main::Database::isUrlList(), crawlservpp::Main::Database::isUrlListNamespace(), crawlservpp::Main::Database::log(), crawlservpp::Main::Database::mergeUrls(), crawlservpp::Main::Database::moveQuery(), crawlservpp::Main::Database::setThreadPauseTime(), crawlservpp::Main::Database::setThreadRunTime(), crawlservpp::Main::Database::setThreadStatus(), crawlservpp::Main::Database::setUrlListCaseSensitive(), crawlservpp::Main::Database::updateConfiguration(), crawlservpp::Main::Database::updateQuery(), crawlservpp::Main::Database::updateUrlList(), and crawlservpp::Main::Database::updateWebsite().
|
inline |
Third argument.
Referenced by crawlservpp::Main::Database::addConfiguration(), crawlservpp::Main::Database::addOrUpdateTargetTable(), crawlservpp::Main::Database::addQuery(), crawlservpp::Main::Database::addThread(), crawlservpp::Main::Database::addUrlList(), crawlservpp::Main::Database::addWebsite(), crawlservpp::Main::Database::getColumnType(), crawlservpp::Main::Database::isColumnExists(), crawlservpp::Main::Database::isTargetTable(), crawlservpp::Main::Database::mergeUrls(), crawlservpp::Main::Database::setThreadStatus(), crawlservpp::Main::Database::updateConfiguration(), crawlservpp::Main::Database::updateQuery(), crawlservpp::Main::Database::updateUrlList(), and crawlservpp::Main::Database::updateWebsite().
|
inline |
Fourth argument.
Referenced by crawlservpp::Main::Database::addConfiguration(), crawlservpp::Main::Database::addQuery(), crawlservpp::Main::Database::addThread(), crawlservpp::Main::Database::addWebsite(), crawlservpp::Main::Database::mergeUrls(), crawlservpp::Main::Database::updateQuery(), and crawlservpp::Main::Database::updateWebsite().
|
inline |
Fifth argument.
Referenced by crawlservpp::Main::Database::addQuery(), and crawlservpp::Main::Database::updateQuery().
|
inline |
Sixth argument.
Referenced by crawlservpp::Main::Database::addQuery(), and crawlservpp::Main::Database::updateQuery().
|
inline |
Seventh argument.
Referenced by crawlservpp::Main::Database::addQuery(), and crawlservpp::Main::Database::updateQuery().
|
inline |
Eighth argument.
Referenced by crawlservpp::Main::Database::addQuery(), and crawlservpp::Main::Database::updateQuery().
|
inline |
Ninth argument.
Referenced by crawlservpp::Main::Database::addQuery(), and crawlservpp::Main::Database::updateQuery().
|
inline |
Bad handshake.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Cannot connect to server.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Cannot connect to server through socket.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Cannot create IP socket.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Cannot get host name.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Client error connecting to master.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Client error connecting to slave.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
The MySQL keyword for a constraint, including the trailing space.
Referenced by crawlservpp::Main::Database::cloneTable().
|
inline |
Could not uncompress packets.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
|
inline |
(Sub-)Directory for .sql files.
Referenced by crawlservpp::Main::Database::initializeSql().
|
inline |
Error in server handshake.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Error reading packets.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Error writing packets.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
File extension for .sql files.
Referenced by crawlservpp::Main::Database::initializeSql().
|
inline |
Forcing close of thread.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Got signal.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Incorrect path.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Insufficient privileges.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Invalid connection handle.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Lock wait timeout exceeded.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Lost connection during query.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Malformed packet.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
More than the maximum number of user connections.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Network error reading from master.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Network error writing to master.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
New aborted connection-.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Normal shutdown.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Number of locks exceeds lock table size.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Packets out of order.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Query execution interrupted.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Read error from connection pipe.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Server error connecting to master.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Server has gone away.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Server shutdown.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Shutdown complete.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Sort aborted.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
SSL connection error.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Storage engine error.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
TCP error.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Timeout reading packets.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Timeout writing packets.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Too many connections.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Unable to connect to foreign data source.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Unknown server host.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
Wrong arguments.
Referenced by crawlservpp::Main::Database::sqlException().
|
inline |
The HTTP status code for GET replies indicating the status of the server.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The HTTP content type for GET replies indicating the status of the server.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The timeout in milliseconds for the polling of the web server.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
"www." prefix to be ignored when checking for a domain.
Referenced by crawlservpp::Main::Database::getChangedUrlsByWebsiteUpdate(), crawlservpp::Main::Database::getLostUrlsByWebsiteUpdate(), and crawlservpp::Main::Database::updateWebsite().
|
inline |
The number of XML warnings by default.
Referenced by crawlservpp::Main::Server::tick().
|
inline |
The current year.
Referenced by crawlservpp::Helper::DateTime::getYearGap(), and crawlservpp::Main::App::run().