C# Class Brunet.Messaging.DemuxHandler

Provides a demultiplexing table for MultiSource.
Afficher le fichier Open project: pstjuste/brunet

Méthodes publiques

Méthode 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 méthode

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

ClearTypeSource() public méthode

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

DemuxHandler() public méthode

Initializes a DemuxHandler.
public DemuxHandler ( ) : System
Résultat System

GetTypeSource() public méthode

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.
Résultat ISource