#include <FSh.h>
Inherits Service< T >< FSh >.
Inheritance diagram for FSh:


Static Public Member Functions | |
| static String | NAME () |
| static String | MANUAL () |
Protected Member Functions | |
| FSh (const ValueList ¶ms) | |
| virtual | ~FSh () |
Private Member Functions | |
| int | start () |
| SLOT (dataReady) | |
| SLOT (die) | |
| SLOT (setColorEnabled, const bool &yes) | |
| SLOT (setLogErrorsEnabled, const bool &yes=true) | |
| SLOT (setLogErrorsRegexp, const String &re) | |
| SLOT (setLogWarningsEnabled, const bool &yes=true) | |
| SLOT (setLogWarningsRegexp, const String &re) | |
| SLOT (setLogDebugEnabled, const bool &yes=true) | |
| SLOT (setLogDebugRegexp, const String &re) | |
| SLOT (logError, const String ×tamp, const String &fileName, const unsigned int lineNum, const String &functionName, const String &msg) | |
| SLOT (logWarning, const String ×tamp, const String &fileName, const unsigned int lineNum, const String &functionName, const String &msg) | |
| SLOT (logDebug, const String ×tamp, const String &fileName, const unsigned int lineNum, const String &functionName, const String &msg) | |
| REGISTRY (bool, colors__on, true, MAN_FSH_COLORS_ON) | |
| REGISTRY_PRIVATE (bool, log__errors__on, true, MAN_FSH_LOG) | |
| REGISTRY_PRIVATE (String, log__errors__regexp,"", MAN_FSH_LOG) | |
| REGISTRY_PRIVATE (bool, log__warnings__on, false, MAN_FSH_LOG) | |
| REGISTRY_PRIVATE (String, log__warnings__regexp,"", MAN_FSH_LOG) | |
| REGISTRY_PRIVATE (bool, log__debug__on, false, MAN_FSH_LOG) | |
| REGISTRY_PRIVATE (String, log__debug__regexp,"", MAN_FSH_LOG) | |
Private Attributes | |
| TcpConnection * | _connection |
| FShGetLine * | _getLine |
| Telnet * | _telnet |
| bool | _logErrors |
| RE | _logErrorsRe |
| bool | _logWarnings |
| RE | _logWarningsRe |
| bool | _logDebug |
| RE | _logDebugRe |
Friends | |
| class | Service< FSh > |
| class | FShGetLine |
Definition at line 48 of file FSh.h.
| FSh::FSh | ( | const ValueList & | params | ) | [protected] |
Definition at line 15 of file FSh.cpp.
References _connection, BIND, CSTRING(), ERROR, ERROR_BACKTRACE(), FAILED(), Support::failure(), Value< T >::get(), NAME(), SERVICE_MSG_INVALID_PARAM_TYPE, SERVICE_MSG_INVALID_PARAMS, and start().
| FSh::~FSh | ( | ) | [protected, virtual] |
| String FSh::NAME | ( | ) | [inline, static] |
Reimplemented from Service< T >.
Definition at line 118 of file FSh.h.
References NAME_FSH.
Referenced by FSh().
| String FSh::MANUAL | ( | ) | [inline, static] |
| int FSh::start | ( | ) | [private] |
Definition at line 66 of file FSh.cpp.
References _connection, _getLine, _telnet, CONNECT, ERR(), ERROR, ERROR_BACKTRACE(), FAILED(), Support::failureCode(), FShGetLine, Telnet::iac(), MSG_OBJECT_CANNOT_CREATE, OK, REGISTRY_GET, and TcpConnection::setNonBlock().
Referenced by FSh().
| FSh::SLOT | ( | dataReady | ) | [private] |
| FSh::SLOT | ( | die | ) | [private] |
| FSh::SLOT | ( | setColorEnabled | , | |
| const bool & | yes | |||
| ) | [private] |
| FSh::SLOT | ( | setLogErrorsEnabled | , | |
| const bool & | yes = true | |||
| ) | [private] |
| FSh::SLOT | ( | setLogErrorsRegexp | , | |
| const String & | re | |||
| ) | [private] |
| FSh::SLOT | ( | setLogWarningsEnabled | , | |
| const bool & | yes = true | |||
| ) | [private] |
| FSh::SLOT | ( | setLogWarningsRegexp | , | |
| const String & | re | |||
| ) | [private] |
| FSh::SLOT | ( | setLogDebugEnabled | , | |
| const bool & | yes = true | |||
| ) | [private] |
| FSh::SLOT | ( | setLogDebugRegexp | , | |
| const String & | re | |||
| ) | [private] |
| FSh::SLOT | ( | logError | , | |
| const String & | timestamp, | |||
| const String & | fileName, | |||
| const unsigned int | lineNum, | |||
| const String & | functionName, | |||
| const String & | msg | |||
| ) | [private] |
| FSh::SLOT | ( | logWarning | , | |
| const String & | timestamp, | |||
| const String & | fileName, | |||
| const unsigned int | lineNum, | |||
| const String & | functionName, | |||
| const String & | msg | |||
| ) | [private] |
| FSh::SLOT | ( | logDebug | , | |
| const String & | timestamp, | |||
| const String & | fileName, | |||
| const unsigned int | lineNum, | |||
| const String & | functionName, | |||
| const String & | msg | |||
| ) | [private] |
| FSh::REGISTRY | ( | bool | , | |
| colors__on | , | |||
| true | , | |||
| MAN_FSH_COLORS_ON | ||||
| ) | [private] |
| FSh::REGISTRY_PRIVATE | ( | bool | , | |
| log__errors__on | , | |||
| true | , | |||
| MAN_FSH_LOG | ||||
| ) | [private] |
| FSh::REGISTRY_PRIVATE | ( | String | , | |
| log__errors__regexp | , | |||
| "" | , | |||
| MAN_FSH_LOG | ||||
| ) | [private] |
| FSh::REGISTRY_PRIVATE | ( | bool | , | |
| log__warnings__on | , | |||
| false | , | |||
| MAN_FSH_LOG | ||||
| ) | [private] |
| FSh::REGISTRY_PRIVATE | ( | String | , | |
| log__warnings__regexp | , | |||
| "" | , | |||
| MAN_FSH_LOG | ||||
| ) | [private] |
| FSh::REGISTRY_PRIVATE | ( | bool | , | |
| log__debug__on | , | |||
| false | , | |||
| MAN_FSH_LOG | ||||
| ) | [private] |
| FSh::REGISTRY_PRIVATE | ( | String | , | |
| log__debug__regexp | , | |||
| "" | , | |||
| MAN_FSH_LOG | ||||
| ) | [private] |
friend class FShGetLine [friend] |
TcpConnection* FSh::_connection [private] |
FShGetLine* FSh::_getLine [private] |
Telnet* FSh::_telnet [private] |
bool FSh::_logErrors [private] |
RE FSh::_logErrorsRe [private] |
bool FSh::_logWarnings [private] |
RE FSh::_logWarningsRe [private] |
bool FSh::_logDebug [private] |
RE FSh::_logDebugRe [private] |
1.5.1