C# Class Brunet.Symphony.BroadcastHandler

Handles incoming broadcasts, returns the data for further processing by the node and forwards it to the next step, via a another BroadcastSender.
Inheritance: IDataHandler
Show file Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
Node StructuredNode

Public Methods

Method Description
BroadcastHandler ( StructuredNode node ) : Brunet.Connections

Creates a BroadcastHandler, don't forget to Subscribe to the Node.DemuxHandler with the PType -> BroadcastSender.PType.

HandleData ( MemBlock data, ISender return_path, object state ) : void

Method Details

BroadcastHandler() public method

Creates a BroadcastHandler, don't forget to Subscribe to the Node.DemuxHandler with the PType -> BroadcastSender.PType.
public BroadcastHandler ( StructuredNode node ) : Brunet.Connections
node StructuredNode
return Brunet.Connections

HandleData() public method

public HandleData ( MemBlock data, ISender return_path, object state ) : void
data Brunet.Util.MemBlock
return_path ISender
state object
return void

Property Details

Node public property

The local node.
public StructuredNode,Brunet.Symphony Node
return StructuredNode