Please notice that forums and news and documentation have moved elsewhere.

Ignore:
Timestamp:
05/06/12 21:25:45 (2 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.1, 0.4.2
Children:
ef5832c
Parents:
53473f7
Message:
  • Refactored server internals to be more uniform (This is the first step to adding more protocols like NRDP and unit tests for check_nt)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/check_nt/server/handler.hpp

    re1d9a58 r9bd40e2  
    66namespace check_nt { 
    77  namespace server { 
    8     class handler { 
     8    class handler : public boost::noncopyable { 
    99    public: 
    10       handler() {} 
    11       handler(const handler &other) {} 
    12       handler& operator= (const handler &other) { 
    13         return *this; 
    14       } 
    1510      virtual check_nt::packet handle(check_nt::packet packet) = 0; 
    16       virtual void log_debug(std::string file, int line, std::wstring msg) = 0; 
    17       virtual void log_error(std::string file, int line, std::wstring msg) = 0; 
     11      virtual void log_debug(std::string module, std::string file, int line, std::string msg) const = 0; 
     12      virtual void log_error(std::string module, std::string file, int line, std::string msg) const = 0; 
    1813      virtual check_nt::packet create_error(std::wstring msg) = 0; 
    1914 
Note: See TracChangeset for help on using the changeset viewer.