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

Class PortRange

src/brpc/server.h:363–370  ·  view source on GitHub ↗

Represent ports inside [min_port, max_port]

Source from the content-addressed store, hash-verified

361
362// Represent ports inside [min_port, max_port]
363struct PortRange {
364 int min_port;
365 int max_port;
366
367 PortRange(int min_port2, int max_port2)
368 : min_port(min_port2), max_port(max_port2) {
369 }
370};
371
372// Server dispatches requests from clients to registered services and
373// sends responses back to clients.

Callers 2

TEST_FFunction · 0.85
StartMethod · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68