Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | public: | ||||
//! Start shutdown. | //! Start shutdown. | ||||
virtual void startShutdown() = 0; | virtual void startShutdown() = 0; | ||||
//! Return whether shutdown was requested. | //! Return whether shutdown was requested. | ||||
virtual bool shutdownRequested() = 0; | virtual bool shutdownRequested() = 0; | ||||
//! Map port. | //! Map port. | ||||
virtual void mapPort(bool use_upnp) = 0; | virtual void mapPort(bool use_upnp, bool use_natpmp) = 0; | ||||
//! Get proxy. | //! Get proxy. | ||||
virtual bool getProxy(Network net, proxyType &proxy_info) = 0; | virtual bool getProxy(Network net, proxyType &proxy_info) = 0; | ||||
//! Get number of connections. | //! Get number of connections. | ||||
virtual size_t getNodeCount(CConnman::NumConnections flags) = 0; | virtual size_t getNodeCount(CConnman::NumConnections flags) = 0; | ||||
//! Get stats for connected nodes. | //! Get stats for connected nodes. | ||||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |