C# Class Brunet.Messaging.DemuxHandler

Provides a demultiplexing table for MultiSource.
Datei anzeigen Open project: pstjuste/brunet

Public Methods

Method Description
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,

Method Details

Clear() public method

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

ClearTypeSource() public method

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

DemuxHandler() public method

Initializes a DemuxHandler.
public DemuxHandler ( ) : System
return System

GetTypeSource() public method

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.
return ISource