C# Class TSystems.RELOAD.ForwardAndLinkManagement.ReloadFLM

Inheritance: IForwardLinkManagement
Show file Open project: RELOAD-NET/RELOAD.NET

Public Methods

Method Description
GetConnection ( CandidatePair choosenPair ) : Socket
GetConnectionQueue ( ) : ReloadSendParameters>.Util.ThreadSafeDictionary
Init ( ) : bool
NextHopInConnectionTable ( NodeId dest_node_id ) : bool
ReloadFLM ( ReloadConfig reloadConfig ) : System
SaveConnection ( CandidatePair choosenPair ) : void
Send ( Node node, ReloadMessage reloadMessage ) : IEnumerator
ShutDown ( ) : void

Shut downs listeners and receivers.

StartReloadTLSClient ( NodeId nodeid, Socket socket, IPEndPoint attacherEndpoint ) : void
StartReloadTLSServer ( Socket socket ) : void

Private Methods

Method Description
ManageConnections ( ) : IEnumerator

TASK: Manage RELOAD connections.

link_ReloadFLMEventHandler ( object sender, ReloadFLMEventArgs args ) : ReloadFLMEventArgs

Method Details

GetConnection() public method

public GetConnection ( CandidatePair choosenPair ) : Socket
choosenPair CandidatePair
return Socket

GetConnectionQueue() public method

public GetConnectionQueue ( ) : ReloadSendParameters>.Util.ThreadSafeDictionary
return ReloadSendParameters>.Util.ThreadSafeDictionary

Init() public method

public Init ( ) : bool
return bool

NextHopInConnectionTable() public method

public NextHopInConnectionTable ( NodeId dest_node_id ) : bool
dest_node_id TSystems.RELOAD.Utils.NodeId
return bool

ReloadFLM() public method

public ReloadFLM ( ReloadConfig reloadConfig ) : System
reloadConfig ReloadConfig
return System

SaveConnection() public method

public SaveConnection ( CandidatePair choosenPair ) : void
choosenPair CandidatePair
return void

Send() public method

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

ShutDown() public method

Shut downs listeners and receivers.
public ShutDown ( ) : void
return void

StartReloadTLSClient() public method

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

StartReloadTLSServer() public method

public StartReloadTLSServer ( Socket socket ) : void
socket Socket
return void