C# 클래스 Brunet.Messaging.DemuxHandler

Provides a demultiplexing table for MultiSource.
파일 보기 프로젝트 열기: pstjuste/brunet

공개 메소드들

메소드 설명
Clear ( ) : void

Deletes (and thus unsubscribes) all IDataHandlers for the table.

ClearTypeSource ( Object t ) : void

Deletes (and thus unsubscribes) all IDataHandlers for a given key.

DemuxHandler ( ) : System

Initializes a DemuxHandler.

GetTypeSource ( Object t ) : ISource

All packets that come to this are demultiplexed according to t. To subscribe or unsubscribe, get the ISource for the type you want and subscribe to it,

메소드 상세

Clear() 공개 메소드

Deletes (and thus unsubscribes) all IDataHandlers for the table.
public Clear ( ) : void
리턴 void

ClearTypeSource() 공개 메소드

Deletes (and thus unsubscribes) all IDataHandlers for a given key.
public ClearTypeSource ( Object t ) : void
t Object The key for the MultiSource.
리턴 void

DemuxHandler() 공개 메소드

Initializes a DemuxHandler.
public DemuxHandler ( ) : System
리턴 System

GetTypeSource() 공개 메소드

All packets that come to this are demultiplexed according to t. To subscribe or unsubscribe, get the ISource for the type you want and subscribe to it,
public GetTypeSource ( Object t ) : ISource
t Object The key for the MultiSource.
리턴 ISource