LCOV - code coverage report
Current view: top level - eventdispatcher - connection_with_send_message.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 1 0.0 %
Date: 2019-08-08 02:52:36 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // Copyright (c) 2012-2019  Made to Order Software Corp.  All Rights Reserved
       2             : //
       3             : // This program is free software; you can redistribute it and/or modify
       4             : // it under the terms of the GNU General Public License as published by
       5             : // the Free Software Foundation; either version 2 of the License, or
       6             : // (at your option) any later version.
       7             : //
       8             : // This program is distributed in the hope that it will be useful,
       9             : // but WITHOUT ANY WARRANTY; without even the implied warranty of
      10             : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      11             : // GNU General Public License for more details.
      12             : //
      13             : // You should have received a copy of the GNU General Public License
      14             : // along with this program; if not, write to the Free Software
      15             : // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
      16             : #pragma once
      17             : 
      18             : // self
      19             : //
      20             : #include    "eventdispatcher/message.h"
      21             : 
      22             : 
      23             : 
      24             : namespace ed
      25             : {
      26             : 
      27             : 
      28             : 
      29           0 : class connection_with_send_message
      30             : {
      31             : public:
      32             :     virtual                     ~connection_with_send_message();
      33             : 
      34             :     // new callback
      35             :     virtual bool                send_message(message const & message, bool cache = false) = 0;
      36             : 
      37             :     virtual void                msg_help(message & message);
      38             :     virtual void                msg_alive(message & message);
      39             :     virtual void                msg_log(message & message);
      40             :     virtual void                msg_quitting(message & message);
      41             :     virtual void                msg_ready(message & message);
      42             :     virtual void                msg_stop(message & message);
      43             :     virtual void                msg_log_unknown(message & message);
      44             :     virtual void                msg_reply_with_unknown(message & message);
      45             : 
      46             :     virtual void                help(string_list_t & commands);
      47             :     virtual void                ready(message & message);
      48             :     virtual void                stop(bool quitting);
      49             : };
      50             : 
      51             : 
      52             : 
      53             : } // namespace snap
      54             : // vim: ts=4 sw=4 et

Generated by: LCOV version 1.12