C# Class Bus.Transport.Network.PeerManager

Inheritance: IPeerManager
Datei anzeigen Open project: jbouzaglou/PetPigeonsESB

Public Methods

Method 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

Method Description
OnHeartbeatManagerDisconnected ( IEndpoint endpoint ) : void
UpdatePeerList ( ServicePeer peer ) : void
UpdateShadows ( ServicePeer peer ) : void
UpdateSubscriptions ( ServicePeer peer ) : void

Method Details

GetAllPeers() public method

public GetAllPeers ( ) : List
return List

GetAllShadows() public method

public GetAllShadows ( ) : HashSet>.Dictionary
return HashSet>.Dictionary

GetAllSubscriptions() public method

public GetAllSubscriptions ( ) : List>.Dictionary
return List>.Dictionary

GetEndpointStatuses() public method

public GetEndpointStatuses ( ) : EndpointStatus>.Dictionary
return EndpointStatus>.Dictionary

PeerManager() public method

public PeerManager ( IPeerConfiguration peerConfig, IHeartbeatManager heartbeatManager ) : System
peerConfig IPeerConfiguration
heartbeatManager IHeartbeatManager
return System

PeersThatShadowMe() public method

public PeersThatShadowMe ( ) : IEnumerable
return IEnumerable

RegisterPeerConnection() public method

public RegisterPeerConnection ( ServicePeer peer ) : void
peer ServicePeer
return void