private void RemovePeer(PeerId peerId) { _peerRepository.RemovePeer(peerId); _bus.Publish(new PeerDecommissioned(peerId)); }
public void Handle(PeerStopped message) { _peerRepository.RemovePeer(message.PeerId); }