C# Class Ipop.Managed.ManagedIpopNode

This class is a subclass of IpopNode
Inheritance: IpopNode
Show file Open project: pstjuste/brunet

Protected Properties

Property Type Description
_marad ManagedAddressResolverAndDns

Public Methods

Method Description
ManagedIpopNode ( NodeConfig node_config, IpopConfig ipop_config ) : Brunet

The constructor takes two config files

Protected Methods

Method Description
GetDhcpConfig ( ) : void
GetDhcpServer ( ) : DhcpServer
HandleDns ( IPPacket ipp ) : bool

This method handles incoming Dns Packets

HandleDnsCallback ( object state ) : void

Dns request is handled by threadpool to avoid blocking main ipop processing thread

HandleMulticast ( IPPacket ipp ) : bool

This method handles multicast packets (not yet implemented)

Method Details

GetDhcpConfig() protected method

protected GetDhcpConfig ( ) : void
return void

GetDhcpServer() protected method

protected GetDhcpServer ( ) : DhcpServer
return DhcpServer

HandleDns() protected method

This method handles incoming Dns Packets
protected HandleDns ( IPPacket ipp ) : bool
ipp NetworkPackets.IPPacket A Dns IPPacket to be processed
return bool

HandleDnsCallback() protected method

Dns request is handled by threadpool to avoid blocking main ipop processing thread
protected HandleDnsCallback ( object state ) : void
state object State object is DNS request packet
return void

HandleMulticast() protected method

This method handles multicast packets (not yet implemented)
protected HandleMulticast ( IPPacket ipp ) : bool
ipp NetworkPackets.IPPacket A multicast packet to be processed
return bool

ManagedIpopNode() public method

The constructor takes two config files
public ManagedIpopNode ( NodeConfig node_config, IpopConfig ipop_config ) : Brunet
node_config Brunet.Applications.NodeConfig
ipop_config IpopConfig
return Brunet

Property Details

_marad protected property

Provides Address resolution, dns, and translation.
protected ManagedAddressResolverAndDns,Ipop.Managed _marad
return ManagedAddressResolverAndDns