1cc7f415cSShuo Chen// excerpts from http://code.google.com/p/muduo/ 2cc7f415cSShuo Chen// 3cc7f415cSShuo Chen// Use of this source code is governed by a BSD-style license 4cc7f415cSShuo Chen// that can be found in the License file. 5cc7f415cSShuo Chen// 6cc7f415cSShuo Chen// Author: Shuo Chen (chenshuo at chenshuo dot com) 7cc7f415cSShuo Chen 8cc7f415cSShuo Chen#ifndef MUDUO_NET_CALLBACKS_H 9cc7f415cSShuo Chen#define MUDUO_NET_CALLBACKS_H 10cc7f415cSShuo Chen 11cc7f415cSShuo Chen#include <boost/function.hpp> 12cc7f415cSShuo Chen#include <boost/shared_ptr.hpp> 13cc7f415cSShuo Chen 14cc7f415cSShuo Chen#include "datetime/Timestamp.h" 15cc7f415cSShuo Chen 16cc7f415cSShuo Chennamespace muduo 17cc7f415cSShuo Chen{ 18cc7f415cSShuo Chen 19cc7f415cSShuo Chen// All client visible callbacks go here. 20cc7f415cSShuo Chen 21cc7f415cSShuo Chentypedef boost::function<void()> TimerCallback; 22cc7f415cSShuo Chen 23cc7f415cSShuo Chen} 24cc7f415cSShuo Chen 25cc7f415cSShuo Chen#endif // MUDUO_NET_CALLBACKS_H 26