Collage  1.1.2
High-performance C++ library for developing object-oriented distributed applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
bufferListener.h
1 
2 /* Copyright (c) 2012, Stefan.Eilemann@epfl.ch
3  *
4  * This file is part of Collage <https://github.com/Eyescale/Collage>
5  *
6  * This library is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License version 2.1 as published
8  * by the Free Software Foundation.
9  *
10  * This library is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13  * details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this library; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #ifndef CO_BUFFERLISTENER_H
21 #define CO_BUFFERLISTENER_H
22 
23 namespace co
24 {
27  {
28  public:
29  virtual ~BufferListener() {}
30 
31  virtual void notifyFree( Buffer* ) = 0;
32  };
33 }
34 
35 #endif // CO_BUFFER_LISTENER_H
A receive buffer for a Connection.
Definition: buffer.h:44
virtual void notifyFree(Buffer *)=0
No references left.
A listener interface to buffer state changes.