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