MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / set_handler

Method set_handler

net/rsocket/rsocket.cpp:441–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439 }
440
441 ISocketServer* set_handler(Handler handler) override {
442 m_handler = handler;
443 return this;
444 }
445 static void handler(Handler m_handler, photon::net::ISocketStream* sess) {
446 m_handler(sess);
447 delete sess;

Callers 15

TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
TESTFunction · 0.45
mainFunction · 0.45
TESTFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
RpcServerMethod · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
TESTFunction · 0.36
mainFunction · 0.36
TESTFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
RpcServerMethod · 0.36