MCPcopy Create free account
hub / github.com/Tencent/phxqueue / DefaultHandlerFactory

Class DefaultHandlerFactory

phxqueue/comm/handler.h:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72template <typename T>
73 class DefaultHandlerFactory : public HandlerFactory {
74 public:
75 DefaultHandlerFactory() {}
76 virtual ~DefaultHandlerFactory() {}
77
78 Handler *New() {
79 return new T();
80 }
81};
82
83
84template <typename F>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected