Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
channel.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../messages/message.hh"
4 
5 namespace eclipse {
6 namespace network {
7 
8 const int header_size = 16;
9 
10 class Channel {
11  public:
12  Channel () = default;
13  virtual ~Channel () = default;
14 
15  virtual void do_write (messages::Message*) = 0;
16 };
17 
18 }
19 }
virtual void do_write(messages::Message *)=0
Definition: message.hh:15
virtual ~Channel()=default
const int header_size
Definition: channel.hh:8
Definition: channel.hh:10