// 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 TcpConnection; +typedef boost::shared_ptr TcpConnectionPtr; + typedef boost::function TimerCallback; +typedef boost::function ConnectionCallback; +typedef boost::function MessageCallback; } #endif // MUDUO_NET_CALLBACKS_H