MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / readFIFO

Method readFIFO

Peering/Peering.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73
74char* PeerMessageFIFOMap::readFIFO(unsigned transactionID, unsigned timeout)
75{
76 PeerMessageFIFO* FIFO = readNoBlock(transactionID);
77 if (!FIFO) {
78 LOG(NOTICE) << "attempt to read non-existent FIFO " << transactionID;
79 return NULL;
80 }
81 return FIFO->read(timeout);
82}
83
84
85void PeerMessageFIFOMap::writeFIFO(unsigned transactionID, const char* msg)

Callers 1

sendUntilAckMethod · 0.80

Calls 1

readMethod · 0.45

Tested by

no test coverage detected