|
rippled
|


Public Types | |
| using | wptr = std::weak_ptr< PathRequest > |
| using | pointer = std::shared_ptr< PathRequest > |
| using | ref = const pointer & |
| using | wref = const wptr & |
Public Member Functions | |
| PathRequest (Application &app, std::shared_ptr< InfoSub > const &subscriber, int id, PathRequests &, beast::Journal journal) | |
| PathRequest (Application &app, std::function< void(void)> const &completion, Resource::Consumer &consumer, int id, PathRequests &, beast::Journal journal) | |
| ~PathRequest () | |
| bool | isNew () |
| bool | needsUpdate (bool newOnly, LedgerIndex index) |
| void | updateComplete () |
| std::pair< bool, Json::Value > | doCreate (std::shared_ptr< RippleLineCache > const &, Json::Value const &) |
| Json::Value | doClose (Json::Value const &) |
| Json::Value | doStatus (Json::Value const &) |
| Json::Value | doUpdate (std::shared_ptr< RippleLineCache > const &, bool fast) |
| InfoSub::pointer | getSubscriber () |
| bool | hasCompletion () |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
Private Member Functions | |
| bool | isValid (std::shared_ptr< RippleLineCache > const &crCache) |
| std::unique_ptr< Pathfinder > const & | getPathFinder (std::shared_ptr< RippleLineCache > const &, hash_map< Currency, std::unique_ptr< Pathfinder >> &, Currency const &, STAmount const &, int const) |
| bool | findPaths (std::shared_ptr< RippleLineCache > const &, int const, Json::Value &) |
| Finds and sets a PathSet in the JSON argument. More... | |
| int | parseJson (Json::Value const &) |
Static Private Member Functions | |
| static auto & | getCounter () noexcept |
Private Attributes | |
| Application & | app_ |
| beast::Journal | m_journal |
| std::recursive_mutex | mLock |
| PathRequests & | mOwner |
| std::weak_ptr< InfoSub > | wpSubscriber |
| std::function< void(void)> | fCompletion |
| Resource::Consumer & | consumer_ |
| Json::Value | jvId |
| Json::Value | jvStatus |
| boost::optional< AccountID > | raSrcAccount |
| boost::optional< AccountID > | raDstAccount |
| STAmount | saDstAmount |
| boost::optional< STAmount > | saSendMax |
| std::set< Issue > | sciSourceCurrencies |
| std::map< Issue, STPathSet > | mContext |
| bool | convert_all_ |
| std::recursive_mutex | mIndexLock |
| LedgerIndex | mLastIndex |
| bool | mInProgress |
| int | iLevel |
| bool | bLastSuccess |
| int | iIdentifier |
| const std::chrono::steady_clock::time_point | created_ |
| std::chrono::steady_clock::time_point | quick_reply_ |
| std::chrono::steady_clock::time_point | full_reply_ |
Static Private Attributes | |
| static unsigned const int | max_paths_ = 4 |
Definition at line 48 of file PathRequest.h.
Definition at line 52 of file PathRequest.h.
Definition at line 53 of file PathRequest.h.
| using ripple::PathRequest::ref = const pointer& |
Definition at line 54 of file PathRequest.h.
| using ripple::PathRequest::wref = const wptr& |
Definition at line 55 of file PathRequest.h.
| ripple::PathRequest::PathRequest | ( | Application & | app, |
| std::shared_ptr< InfoSub > const & | subscriber, | ||
| int | id, | ||
| PathRequests & | owner, | ||
| beast::Journal | journal | ||
| ) |
Definition at line 43 of file PathRequest.cpp.
| ripple::PathRequest::PathRequest | ( | Application & | app, |
| std::function< void(void)> const & | completion, | ||
| Resource::Consumer & | consumer, | ||
| int | id, | ||
| PathRequests & | owner, | ||
| beast::Journal | journal | ||
| ) |
Definition at line 65 of file PathRequest.cpp.
| ripple::PathRequest::~PathRequest | ( | ) |
Definition at line 88 of file PathRequest.cpp.
| bool ripple::PathRequest::isNew | ( | ) |
Definition at line 117 of file PathRequest.cpp.
| bool ripple::PathRequest::needsUpdate | ( | bool | newOnly, |
| LedgerIndex | index | ||
| ) |
Definition at line 126 of file PathRequest.cpp.
| void ripple::PathRequest::updateComplete | ( | ) |
Definition at line 158 of file PathRequest.cpp.
| std::pair< bool, Json::Value > ripple::PathRequest::doCreate | ( | std::shared_ptr< RippleLineCache > const & | cache, |
| Json::Value const & | value | ||
| ) |
Definition at line 245 of file PathRequest.cpp.
| Json::Value ripple::PathRequest::doClose | ( | Json::Value const & | ) |
Definition at line 445 of file PathRequest.cpp.
| Json::Value ripple::PathRequest::doStatus | ( | Json::Value const & | ) |
Definition at line 454 of file PathRequest.cpp.
| Json::Value ripple::PathRequest::doUpdate | ( | std::shared_ptr< RippleLineCache > const & | cache, |
| bool | fast | ||
| ) |
Definition at line 633 of file PathRequest.cpp.
| InfoSub::pointer ripple::PathRequest::getSubscriber | ( | ) |
Definition at line 735 of file PathRequest.cpp.
| bool ripple::PathRequest::hasCompletion | ( | ) |
Definition at line 152 of file PathRequest.cpp.
|
private |
Definition at line 173 of file PathRequest.cpp.
|
private |
Definition at line 462 of file PathRequest.cpp.
|
private |
Finds and sets a PathSet in the JSON argument.
Returns false if the source currencies are inavlid.
Definition at line 489 of file PathRequest.cpp.
|
private |
Definition at line 275 of file PathRequest.cpp.
|
staticprivatenoexceptinherited |
Definition at line 128 of file CountedObject.h.
|
private |
Definition at line 127 of file PathRequest.h.
|
private |
Definition at line 128 of file PathRequest.h.
|
private |
Definition at line 130 of file PathRequest.h.
|
private |
Definition at line 132 of file PathRequest.h.
|
private |
Definition at line 134 of file PathRequest.h.
|
private |
Definition at line 135 of file PathRequest.h.
|
private |
Definition at line 136 of file PathRequest.h.
|
private |
Definition at line 138 of file PathRequest.h.
|
private |
Definition at line 139 of file PathRequest.h.
|
private |
Definition at line 142 of file PathRequest.h.
|
private |
Definition at line 143 of file PathRequest.h.
|
private |
Definition at line 144 of file PathRequest.h.
|
private |
Definition at line 145 of file PathRequest.h.
Definition at line 147 of file PathRequest.h.
Definition at line 148 of file PathRequest.h.
|
private |
Definition at line 150 of file PathRequest.h.
|
private |
Definition at line 152 of file PathRequest.h.
|
private |
Definition at line 153 of file PathRequest.h.
|
private |
Definition at line 154 of file PathRequest.h.
|
private |
Definition at line 156 of file PathRequest.h.
|
private |
Definition at line 157 of file PathRequest.h.
|
private |
Definition at line 159 of file PathRequest.h.
|
private |
Definition at line 161 of file PathRequest.h.
|
private |
Definition at line 162 of file PathRequest.h.
|
private |
Definition at line 163 of file PathRequest.h.
|
staticprivate |
Definition at line 165 of file PathRequest.h.
1.8.17