* @brief Add a global enter action that is called every time a session (local or remote) is established. * * @param action the function to be called when a session exits, taking a @c std::ostream& parameter to write on that session console. */
| 144 | * @param action the function to be called when a session exits, taking a @c std::ostream& parameter to write on that session console. |
| 145 | */ |
| 146 | void EnterAction(const std::function< void(std::ostream&)>& action) { enterAction = action; } |
| 147 | |
| 148 | /** |
| 149 | * @brief Add a global exit action that is called every time a session (local or remote) gets the "exit" command. |
no outgoing calls