C# Class CmisSync.Lib.Queueing.SyncEventManager

Sync event manager which has a list of all Handlers and forwards events to them.
Inheritance: ISyncEventManager
Mostra file Open project: OpenDataSpace/CmisSync

Public Methods

Method Description
AddEventHandler ( SyncEventHandler handler ) : void

Adds the event handler to the manager.

Handle ( ISyncEvent e ) : void

Handle the specified event.

RemoveEventHandler ( SyncEventHandler handler ) : void

Removes the event handler.

Method Details

AddEventHandler() public method

Adds the event handler to the manager.
public AddEventHandler ( SyncEventHandler handler ) : void
handler SyncEventHandler /// Handler to add. ///
return void

Handle() public method

Handle the specified event.
public Handle ( ISyncEvent e ) : void
e ISyncEvent /// Event to handle. ///
return void

RemoveEventHandler() public method

Removes the event handler.
public RemoveEventHandler ( SyncEventHandler handler ) : void
handler SyncEventHandler /// Handler to remove. ///
return void