C# Class Brunet.Symphony.BroadcastReceiver

Since HandleData requires a return path, this services as a means for the receiver to know where the data came from and aspects of where it is going. Most of it is useful for evaluation.
Inheritance: ISender
Show file Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
From AHAddress
Hops int
Node StructuredNode
Source AHAddress
To AHAddress

Protected Properties

Property Type Description
_bs BroadcastSender
_sender ISender

Public Methods

Method Description
BroadcastReceiver ( BroadcastSender bs ) : Brunet.Connections

Stores data about this hop in a broadcast and provides a path back to the originating broadcaster.

Send ( ICopyable data ) : void
ToUri ( ) : string

Method Details

BroadcastReceiver() public method

Stores data about this hop in a broadcast and provides a path back to the originating broadcaster.
public BroadcastReceiver ( BroadcastSender bs ) : Brunet.Connections
bs BroadcastSender
return Brunet.Connections

Send() public method

public Send ( ICopyable data ) : void
data ICopyable
return void

ToUri() public method

public ToUri ( ) : string
return string

Property Details

From public property

The beginning (inclusive) of the range.
public AHAddress,Brunet.Symphony From
return AHAddress

Hops public property

public int Hops
return int

Node public property

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

Source public property

The originator of the broadcast.
public AHAddress,Brunet.Symphony Source
return AHAddress

To public property

The ending (inclusive) of the range.
public AHAddress,Brunet.Symphony To
return AHAddress

_bs protected property

protected BroadcastSender _bs
return BroadcastSender

_sender protected property

protected ISender _sender
return ISender