mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Tidy up move obsolete and deprecated files
This commit is contained in:
37
modules/ripple_app/boost/ripple_IoService.h
Normal file
37
modules/ripple_app/boost/ripple_IoService.h
Normal file
@@ -0,0 +1,37 @@
|
||||
//------------------------------------------------------------------------------
|
||||
/*
|
||||
Copyright (c) 2011-2013, OpenCoin, Inc.
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_IOSERVICE_H_INCLUDED
|
||||
#define RIPPLE_IOSERVICE_H_INCLUDED
|
||||
|
||||
namespace basio
|
||||
{
|
||||
|
||||
/** Hides a boost::asio::ioservice implementation.
|
||||
*/
|
||||
class IoService
|
||||
{
|
||||
public:
|
||||
static IoService* New (std::size_t concurrency_hint);
|
||||
|
||||
virtual ~IoService ();
|
||||
|
||||
operator boost::asio::io_service& ();
|
||||
|
||||
void stop ();
|
||||
bool stopped ();
|
||||
void run ();
|
||||
|
||||
private:
|
||||
explicit IoService (std::size_t concurrency_hint);
|
||||
|
||||
private:
|
||||
beast::ScopedPointer <boost::asio::io_service> m_impl;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user