MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / SetEventActions

Method SetEventActions

net/SocketBase.h:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 virtual ~CSocketBase();
24
25 void SetEventActions(std::shared_ptr<CEventActions> &actions) { _event_actions = actions; }
26 void SetSocket(const uint64_t& sock) { _sock = sock; }
27 uint64_t GetSocket() { return _sock; }
28 bool IsInActions() { return _add_event_actions; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected