C# Class Bus.Transport.Network.PeerManager

Inheritance: IPeerManager
Afficher le fichier Open project: jbouzaglou/PetPigeonsESB

Méthodes publiques

Méthode Description
GetAllPeers ( ) : List
GetAllShadows ( ) : HashSet>.Dictionary
GetAllSubscriptions ( ) : List>.Dictionary
GetEndpointStatuses ( ) : EndpointStatus>.Dictionary
PeerManager ( IPeerConfiguration peerConfig, IHeartbeatManager heartbeatManager ) : System
PeersThatShadowMe ( ) : IEnumerable
RegisterPeerConnection ( ServicePeer peer ) : void

Private Methods

Méthode Description
OnHeartbeatManagerDisconnected ( IEndpoint endpoint ) : void
UpdatePeerList ( ServicePeer peer ) : void
UpdateShadows ( ServicePeer peer ) : void
UpdateSubscriptions ( ServicePeer peer ) : void

Method Details

GetAllPeers() public méthode

public GetAllPeers ( ) : List
Résultat List

GetAllShadows() public méthode

public GetAllShadows ( ) : HashSet>.Dictionary
Résultat HashSet>.Dictionary

GetAllSubscriptions() public méthode

public GetAllSubscriptions ( ) : List>.Dictionary
Résultat List>.Dictionary

GetEndpointStatuses() public méthode

public GetEndpointStatuses ( ) : EndpointStatus>.Dictionary
Résultat EndpointStatus>.Dictionary

PeerManager() public méthode

public PeerManager ( IPeerConfiguration peerConfig, IHeartbeatManager heartbeatManager ) : System
peerConfig IPeerConfiguration
heartbeatManager IHeartbeatManager
Résultat System

PeersThatShadowMe() public méthode

public PeersThatShadowMe ( ) : IEnumerable
Résultat IEnumerable

RegisterPeerConnection() public méthode

public RegisterPeerConnection ( ServicePeer peer ) : void
peer ServicePeer
Résultat void