mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
first
This commit is contained in:
24
TimingService.h
Normal file
24
TimingService.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef __TIMINGSERVICE__
|
||||
#define __TIMINGSERVICE__
|
||||
|
||||
#include <boost/asio.hpp>
|
||||
|
||||
/* responsible for keeping track of network time
|
||||
and kicking off the publishing process
|
||||
*/
|
||||
|
||||
class TimingService
|
||||
{
|
||||
boost::asio::deadline_timer* mLedgerTimer;
|
||||
boost::asio::deadline_timer* mPropTimer;
|
||||
|
||||
void handleLedger();
|
||||
void handleProp();
|
||||
public:
|
||||
TimingService();
|
||||
void start(boost::asio::io_service& ioService);
|
||||
|
||||
|
||||
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user