C# Класс 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.
Наследование: IDataHandler
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Node StructuredNode

Открытые методы

Метод Описание
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

Описание методов

BroadcastHandler() публичный Метод

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
Результат Brunet.Connections

HandleData() публичный Метод

public HandleData ( MemBlock data, ISender return_path, object state ) : void
data Brunet.Util.MemBlock
return_path ISender
state object
Результат void

Описание свойств

Node публичное свойство

The local node.
public StructuredNode,Brunet.Symphony Node
Результат StructuredNode