setProtocols abstract method
SetProtocols sets the protocols for the given peer (replacing any previously stored protocols).
Implementation
void setProtocols(PeerId id, List<ProtocolID> protocols);
SetProtocols sets the protocols for the given peer (replacing any previously stored protocols).
void setProtocols(PeerId id, List<ProtocolID> protocols);