Table of Contents

Interface IMessageDispatcher

Namespace
Xabbo.Messages
Assembly
Xabbo.Common.dll

Represents a service that routes intercepted messages to registered intercept handlers.

public interface IMessageDispatcher

Properties

Messages

Gets the message manager associated with this dispatcher.

IMessageManager Messages { get; }

Property Value

IMessageManager

Methods

Dispatch(Intercept)

Routes the specified Intercept to the relevant handlers currently attached to this dispatcher.

void Dispatch(Intercept intercept)

Parameters

intercept Intercept

Register(InterceptGroup)

Registers a group of intercept handlers.

IDisposable Register(InterceptGroup group)

Parameters

group InterceptGroup

Returns

IDisposable

An IDisposable that deregisters the intercept group when Dispose() is called.

Reset()

Releases all bound intercept handlers and intercept callbacks.

void Reset()