

Public Member Functions | |
| LogListener () | |
| void | acsLogConnEstablished () |
| void | acsLogConnDisconnected () |
| void | acsLogConnLost () |
| void | acsLogConnConnecting () |
| void | acsLogConnSuspended () |
| void | acsLogsDelay () |
| void | reportStatus (String status) |
| void | xmlEntryReceived (String str) |
| void | logEntryReceived (ILogEntry log) |
| void | disconnet () |
Static Public Member Functions | |
| static void | main (String[] args) |
Private Attributes | |
| LCEngine | engine |
A class to test the receptions of the logs through the listeners. The class instantiate a LCEngine and register itself as listeners. The logs and messages received are printed in the stdout
| alma::acs::logclient::LogListener::LogListener | ( | ) | [inline] |
The constructor
References com::cosylab::logging::engine::ACS::LCEngine::addLogConnectionListener(), com::cosylab::logging::engine::ACS::LCEngine::addLogListener(), com::cosylab::logging::engine::ACS::LCEngine::addRawLogListener(), com::cosylab::logging::engine::ACS::LCEngine::connect(), and engine.
Referenced by main().
| void alma::acs::logclient::LogListener::acsLogConnConnecting | ( | ) | [inline] |
| void alma::acs::logclient::LogListener::acsLogConnDisconnected | ( | ) | [inline] |
| void alma::acs::logclient::LogListener::acsLogConnEstablished | ( | ) | [inline] |
Notify that the connection with ACS NC has been established
Implements com::cosylab::logging::engine::ACS::ACSLogConnectionListener.
| void alma::acs::logclient::LogListener::acsLogConnLost | ( | ) | [inline] |
| void alma::acs::logclient::LogListener::acsLogConnSuspended | ( | ) | [inline] |
| void alma::acs::logclient::LogListener::acsLogsDelay | ( | ) | [inline] |
| void alma::acs::logclient::LogListener::disconnet | ( | ) | [inline] |
Disconnect from the logging channel
References com::cosylab::logging::engine::ACS::LCEngine::disconnect(), and engine.
Referenced by main().
| void alma::acs::logclient::LogListener::logEntryReceived | ( | ILogEntry | log | ) | [inline] |
Print only the messages received from the client
Implements com::cosylab::logging::engine::ACS::ACSRemoteLogListener.
References com::cosylab::logging::engine::log::ILogEntry::getField(), com::cosylab::logging::engine::log::ILogEntry::toString(), and com::cosylab::logging::engine::log::ILogEntry::toXMLString().
| static void alma::acs::logclient::LogListener::main | ( | String[] | args | ) | [inline, static] |
| void alma::acs::logclient::LogListener::reportStatus | ( | String | status | ) | [inline] |
| void alma::acs::logclient::LogListener::xmlEntryReceived | ( | String | str | ) | [inline] |
Print only the messages received from the client
Implements com::cosylab::logging::engine::ACS::ACSRemoteRawLogListener.
Referenced by disconnet(), and LogListener().
1.6.2