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
파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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