Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/phxqueue
/ AddFactory
Method
AddFactory
phxqueue/comm/handler.h:95–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
93
}
94
95
void AddFactory(int handle_id, F *factory) {
96
list_.push_back(std::make_pair(handle_id, factory));
97
}
98
99
F *GetFactory(int handle_id) {
100
typename FList::iterator it;
Callers
1
AddHandlerFactory
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected