C# Class TSystems.RELOAD.ForwardAndLinkManagement.SimpleFLM

Simple Link and Forwarding layer
Inheritance: IForwardLinkManagement
Mostra file Open project: RELOAD-NET/RELOAD.NET

Public Methods

Method 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

Method Description
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 next_hop_node_id ) : bool
next_hop_node_id TSystems.RELOAD.Utils.NodeId
return bool

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

SimpleFLM() public method

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

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