MCPcopy Create free account
hub / github.com/bwapi/bwapi / passAdvertisement

Method passAdvertisement

bwapi/SNP_DirectIP/SNP/SNPNetwork.h:49–52  ·  view source on GitHub ↗

callback functions that take network specific arguments and cast them away

Source from the content-addressed store, hash-verified

47
48 // callback functions that take network specific arguments and cast them away
49 void passAdvertisement(const PEERID& host, Util::MemoryFrame ad)
50 {
51 SNP::passAdvertisement(makeBin(host), ad);
52 }
53 void removeAdvertisement(const PEERID& host)
54 {
55 SNP::removeAdvertisement(makeBin(host));

Callers

nothing calls this directly

Calls 1

passAdvertisementFunction · 0.85

Tested by

no test coverage detected