MCPcopy Create free account
hub / github.com/3rdparty/libprocess / visit

Method visit

include/process/event.hpp:266–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 explicit Visitor(JSON::Object* _object) : object(_object) {}
265
266 void visit(const MessageEvent& event) override
267 {
268 object->values["type"] = "MESSAGE";
269
270 const Message& message = event.message;
271
272 object->values["name"] = message.name;
273 object->values["from"] = stringify(message.from);
274 object->values["to"] = stringify(message.to);
275 object->values["body"] = message.body;
276 }
277
278 void visit(const HttpEvent& event) override
279 {

Callers 6

convertFunction · 0.45
visitMethod · 0.45
visitMethod · 0.45
visitMethod · 0.45
visitMethod · 0.45
visitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected