MCPcopy Create free account
hub / github.com/apache/brpc / FillSettings

Method FillSettings

src/brpc/stream.cpp:678–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676}
677
678void Stream::FillSettings(StreamSettings *settings) {
679 settings->set_stream_id(id());
680 settings->set_need_feedback(_cur_buf_size > 0);
681 settings->set_writable(_options.handler != NULL);
682}
683
684void OnIdleTimeout(void *arg) {
685 bthread::ExecutionQueueId<butil::IOBuf*> q = { (uint64_t)arg };

Callers 2

PackRpcRequestFunction · 0.80

Calls 1

idFunction · 0.85

Tested by

no test coverage detected