MCPcopy Create free account
hub / github.com/FISCO-BCOS/FISCO-BCOS / enqueue

Method enqueue

bcos-boostssl/bcos-boostssl/httpserver/HttpQueue.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 return was_full;
35}
36void bcos::boostssl::http::Queue::enqueue(HttpResponsePtr _msg)
37{
38 m_allResp.push_back(std::move(_msg));
39 // there was no previous work, start this one
40 if (m_allResp.size() == 1)
41 {
42 m_sender(m_allResp.front());
43 }
44}

Callers 15

removeExpiredNonceMethod · 0.45
asyncGetPrimaryKeysMethod · 0.45
asyncGetRowMethod · 0.45
asyncGetRowsMethod · 0.45
asyncCommitBlockMethod · 0.45
asyncAddStateCacheMethod · 0.45
asyncGetStateCacheMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
handleRequestMethod · 0.45
collectMethod · 0.45
asyncApplyMethod · 0.45

Calls 2

frontMethod · 0.80
sizeMethod · 0.45

Tested by 13

asyncGetPrimaryKeysMethod · 0.36
asyncGetRowMethod · 0.36
asyncGetRowsMethod · 0.36
asyncCommitBlockMethod · 0.36
asyncAddStateCacheMethod · 0.36
asyncGetStateCacheMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
asyncCheckBlockMethod · 0.36
asyncNotifyNewBlockMethod · 0.36
asyncReadSomeMethod · 0.36
asyncAppendRecvPacketMethod · 0.36
triggerReadMethod · 0.36