| Package | Description |
|---|---|
| org.sodeac.common.message.dispatcher.api |
Provides an API for eventdispatcher.
|
| org.sodeac.common.message.dispatcher.impl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ISubChannel<T>
API for a special scope in channels.
|
| Modifier and Type | Method and Description |
|---|---|
IChannel |
IChannelWorker.getChannel()
get
IChannel for which the worker works |
IChannel<?> |
IMessage.getChannel() |
IChannel<?> |
IMessageDispatcher.getChannel(String channelId)
getter to request for
IChannel with given id |
IChannel |
IChannelTaskContext.getQueue()
getter for queue
|
IChannel<?> |
IChannel.getRootChannel()
returns root scope
|
<T> IChannel<T> |
IMessageDispatcher.getTypedChannel(String channelId,
Class<T> messageType) |
| Modifier and Type | Method and Description |
|---|---|
default void |
IChannelTask.configure(IChannel queue,
String id,
IPropertyBlock propertyBlock,
ITaskControl taskControl)
invoked one time at initialization of this task
|
void |
IOnChannelAttach.onChannelAttach(IChannel channel)
|
default void |
IFeatureConfigurableController.onChannelAttach(IChannel channel) |
void |
IOnChannelDetach.onChannelDetach(IChannel channel)
This is fired, if
IChannelManager detach from a IChannel
Attention! This call is not synchronized by worker thread! |
default void |
IFeatureConfigurableController.onChannelDetach(IChannel channel) |
void |
IOnChannelSignal.onChannelSignal(IChannel channel,
String signal)
consume channel signals
invoked and synchronized by queue worker |
default void |
IFeatureConfigurableController.onChannelSignal(IChannel channel,
String signal) |
void |
IOnTaskDone.onTaskDone(IChannel channel,
IChannelTask task)
|
default void |
IFeatureConfigurableController.onTaskDone(IChannel channel,
IChannelTask task) |
void |
IOnTaskError.onTaskError(IChannel queue,
IChannelTask task,
Throwable throwable)
This methode is fired, if
IChannelTask throws an exception or an error
invoked and synchronized by queue worker |
default void |
IFeatureConfigurableController.onTaskError(IChannel channel,
IChannelTask task,
Throwable throwable) |
default void |
IFeatureConfigurableController.onTaskTimeout(IChannel channel,
IChannelTask task) |
void |
IOnTaskTimeout.onTaskTimeout(IChannel channel,
IChannelTask task)
This is fired, if
IChannelTask runs in timeout. |
| Modifier and Type | Class and Description |
|---|---|
class |
ChannelImpl<T> |
class |
SubChannelImpl |
| Modifier and Type | Method and Description |
|---|---|
IChannel |
ChannelWorkerWrapper.getChannel() |
IChannel |
MessageImpl.getChannel() |
IChannel<?> |
MessageDispatcherImpl.getChannel(String channelId) |
IChannel |
ChannelTaskContextImpl.getQueue() |
IChannel |
SubChannelImpl.getRootChannel() |
IChannel |
ChannelImpl.getRootChannel() |
<T> IChannel<T> |
MessageDispatcherImpl.getTypedChannel(String channelId,
Class<T> messageType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MessageDispatcherImpl.executeOnChannelDetach(IOnChannelDetach onChannelDetach,
IChannel<?> channel) |
protected void |
MessageDispatcherImpl.executeOnTaskTimeOut(IOnTaskTimeout manager,
IChannel<?> channel,
IChannelTask task) |
void |
ChannelTaskContextImpl.setQueue(IChannel queue) |
Copyright © 2020. All rights reserved.