MCPcopy Create free account
hub / github.com/chronoxor/CppServer / onReceived

Method onReceived

performance/proto_server.cpp:42–42  ·  view source on GitHub ↗

Protocol implementation

Source from the content-addressed store, hash-verified

40
41 // Protocol implementation
42 void onReceived(const void* buffer, size_t size) override { receive(buffer, size); }
43 size_t onSend(const void* data, size_t size) override { return SendAsync(data, size) ? size : 0; }
44};
45

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected