MCPcopy Create free account
hub / github.com/apple/foundationdb / sendReliable

Method sendReliable

fdbrpc/FlowTransport.actor.cpp:1886–1893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1884}
1885
1886ReliablePacket* FlowTransport::sendReliable(ISerializeSource const& what, const Endpoint& destination) {
1887 if (self->isLocalAddress(destination.getPrimaryAddress())) {
1888 sendLocal(self, what, destination);
1889 return nullptr;
1890 }
1891 Reference<Peer> peer = self->getOrOpenPeer(destination.getPrimaryAddress());
1892 return sendPacket(self, peer, what, destination, true);
1893}
1894
1895void FlowTransport::cancelReliable(ReliablePacket* p) {
1896 if (p)

Callers 1

getReplyMethod · 0.80

Calls 4

sendLocalFunction · 0.85
sendPacketFunction · 0.85
isLocalAddressMethod · 0.80
getOrOpenPeerMethod · 0.80

Tested by

no test coverage detected