C# Class TSystems.RELOAD.ForwardAndLinkManagement.SimpleFLM

Simple Link and Forwarding layer
Inheritance: IForwardLinkManagement
Afficher le fichier Open project: RELOAD-NET/RELOAD.NET

Méthodes publiques

Méthode Description
GetConnection ( CandidatePair choosenPair ) : Socket
GetConnectionQueue ( ) : ReloadSendParameters>.Util.ThreadSafeDictionary
Init ( ) : bool
NextHopInConnectionTable ( NodeId next_hop_node_id ) : bool
SaveConnection ( CandidatePair choosenPair ) : void
Send ( Node node, ReloadMessage reloadMessage ) : IEnumerator
ShutDown ( ) : void

Shut downs listeners and receivers.

SimpleFLM ( ReloadConfig reloadConfig ) : System
StartReloadTLSClient ( NodeId nodeid, Socket socket, IPEndPoint attacherEndpoint ) : void
StartReloadTLSServer ( Socket socket ) : void

Private Methods

Méthode Description
link_ReloadFLMEventHandler ( object sender, ReloadFLMEventArgs args ) : ReloadFLMEventArgs

Method Details

GetConnection() public méthode

public GetConnection ( CandidatePair choosenPair ) : Socket
choosenPair CandidatePair
Résultat Socket

GetConnectionQueue() public méthode

public GetConnectionQueue ( ) : ReloadSendParameters>.Util.ThreadSafeDictionary
Résultat ReloadSendParameters>.Util.ThreadSafeDictionary

Init() public méthode

public Init ( ) : bool
Résultat bool

NextHopInConnectionTable() public méthode

public NextHopInConnectionTable ( NodeId next_hop_node_id ) : bool
next_hop_node_id TSystems.RELOAD.Utils.NodeId
Résultat bool

SaveConnection() public méthode

public SaveConnection ( CandidatePair choosenPair ) : void
choosenPair CandidatePair
Résultat void

Send() public méthode

public Send ( Node node, ReloadMessage reloadMessage ) : IEnumerator
node TSystems.RELOAD.Topology.Node
reloadMessage TSystems.RELOAD.Transport.ReloadMessage
Résultat IEnumerator

ShutDown() public méthode

Shut downs listeners and receivers.
public ShutDown ( ) : void
Résultat void

SimpleFLM() public méthode

public SimpleFLM ( ReloadConfig reloadConfig ) : System
reloadConfig ReloadConfig
Résultat System

StartReloadTLSClient() public méthode

public StartReloadTLSClient ( NodeId nodeid, Socket socket, IPEndPoint attacherEndpoint ) : void
nodeid TSystems.RELOAD.Utils.NodeId
socket Socket
attacherEndpoint System.Net.IPEndPoint
Résultat void

StartReloadTLSServer() public méthode

public StartReloadTLSServer ( Socket socket ) : void
socket Socket
Résultat void