MCPcopy Create free account
hub / github.com/apache/mesos / transport

Function transport

3rdparty/libprocess/src/process.cpp:637–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635
636
637static void transport(Message&& message, ProcessBase* sender = nullptr)
638{
639 if (message.to.address == __address__) {
640 // Local message.
641 MessageEvent* event = new MessageEvent(std::move(message));
642 process_manager->deliver(event->message.to, event, sender);
643 } else {
644 // Remote message.
645 socket_manager->send(std::move(message));
646 }
647}
648
649
650static void transport(

Callers 3

sendMethod · 0.85
consumeMethod · 0.85
postFunction · 0.85

Calls 3

deliverMethod · 0.80
encodeFunction · 0.70
sendMethod · 0.65

Tested by

no test coverage detected