Callbacks.h revision 2745a763
12745a763SShuo Chen// excerpts from http://code.google.com/p/muduo/ 22745a763SShuo Chen// 32745a763SShuo Chen// Use of this source code is governed by a BSD-style license 42745a763SShuo Chen// that can be found in the License file. 52745a763SShuo Chen// 62745a763SShuo Chen// Author: Shuo Chen (chenshuo at chenshuo dot com) 72745a763SShuo Chen 82745a763SShuo Chen#ifndef MUDUO_NET_CALLBACKS_H 92745a763SShuo Chen#define MUDUO_NET_CALLBACKS_H 102745a763SShuo Chen 112745a763SShuo Chen#include <boost/function.hpp> 122745a763SShuo Chen#include <boost/shared_ptr.hpp> 132745a763SShuo Chen 142745a763SShuo Chen#include "datetime/Timestamp.h" 152745a763SShuo Chen 162745a763SShuo Chennamespace muduo 172745a763SShuo Chen{ 182745a763SShuo Chen 192745a763SShuo Chen// All client visible callbacks go here. 202745a763SShuo Chen 212745a763SShuo Chentypedef boost::function<void()> TimerCallback; 222745a763SShuo Chen 232745a763SShuo Chen} 242745a763SShuo Chen 252745a763SShuo Chen#endif // MUDUO_NET_CALLBACKS_H 26