Package eneter.messaging.threading.dispatching

Receiving messages and events according to specified thread mode.

See:
          Description

Interface Summary
IThreadDispatcher Invokes a method according to specified thread mode.
IThreadDispatcherProvider Provides dispatcher that shall be used for raising events and delivering messages in a correct thread.
 

Class Summary
AndroidDispatching Invokes one by one using Android Handler mechanism (e.g.
AsyncDispatching Invokes asynchronously by routing to a thread from the thread-pool (each method can be executed in a separate thread).
NoDispatching Invokes directly without routing.
SyncDispatching Invokes one by one from the queue.
 

Package eneter.messaging.threading.dispatching Description

Receiving messages and events according to specified thread mode. Treading dispatching allows to specify in which threads received messages shall be received. E.g. you can specify that events like MessageReceived, ConnectionOpened, ConnectionClosed, ... will be raised in the main UI thread.