Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 584 Lines • ▼ Show 20 Lines | private: | ||||
friend struct ::CConnmanTest; | friend struct ::CConnmanTest; | ||||
friend struct ConnmanTestMsg; | friend struct ConnmanTestMsg; | ||||
}; | }; | ||||
void Discover(); | void Discover(); | ||||
void StartMapPort(); | void StartMapPort(); | ||||
void InterruptMapPort(); | void InterruptMapPort(); | ||||
void StopMapPort(); | void StopMapPort(); | ||||
unsigned short GetListenPort(); | uint16_t GetListenPort(); | ||||
/** | /** | ||||
* Interface for message handling | * Interface for message handling | ||||
*/ | */ | ||||
class NetEventsInterface { | class NetEventsInterface { | ||||
public: | public: | ||||
virtual bool ProcessMessages(const Config &config, CNode *pnode, | virtual bool ProcessMessages(const Config &config, CNode *pnode, | ||||
std::atomic<bool> &interrupt) = 0; | std::atomic<bool> &interrupt) = 0; | ||||
▲ Show 20 Lines • Show All 726 Lines • Show Last 20 Lines |