// excerpts from http://code.google.com/p/muduo/ // // Use of this source code is governed by a BSD-style license // that can be found in the License file. // // Author: Shuo Chen (chenshuo at chenshuo dot com) #ifndef MUDUO_NET_CALLBACKS_H #define MUDUO_NET_CALLBACKS_H #include #include #include "datetime/Timestamp.h" namespace muduo { // All client visible callbacks go here. class Buffer; class TcpConnection; typedef boost::shared_ptr TcpConnectionPtr; typedef boost::function TimerCallback; typedef boost::function ConnectionCallback; typedef boost::function MessageCallback; typedef boost::function CloseCallback; } #endif // MUDUO_NET_CALLBACKS_H