public abstract class ADaemonMessageHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DaemonMethodRegistry |
registry |
| Modifier | Constructor and Description |
|---|---|
protected |
ADaemonMessageHandler(Class<? extends IDaemonHandler> aHandlerClazz,
boolean aThrowExceptionOnTimeout) |
protected |
ADaemonMessageHandler(Collection<Class<? extends IDaemonHandler>> aHandlerClazzes,
boolean aThrowExceptionOnTimeout) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract IDaemonHandler |
createRequestHandler(DaemonMethodRegistry.RegistryEntry registryEntry)
Create a new request handler.
|
protected abstract org.slf4j.Logger |
getLogger() |
void |
onMessage(javax.jms.Message message) |
protected abstract void |
reply(DaemonResponse response,
boolean secure)
Reply with a Daemon response.
|
protected final DaemonMethodRegistry registry
protected ADaemonMessageHandler(Class<? extends IDaemonHandler> aHandlerClazz, boolean aThrowExceptionOnTimeout)
aHandlerClazz - Handler classaThrowExceptionOnTimeout - if true throw Exception if timeout is reachedprotected ADaemonMessageHandler(Collection<Class<? extends IDaemonHandler>> aHandlerClazzes, boolean aThrowExceptionOnTimeout)
aHandlerClazzes - Handler classesaThrowExceptionOnTimeout - if true throw Exception if timeout is reachedprotected abstract void reply(DaemonResponse response, boolean secure) throws Exception
response - Responsesecure - (encrypted communication)Exception - If something went wrongprotected abstract IDaemonHandler createRequestHandler(DaemonMethodRegistry.RegistryEntry registryEntry)
registryEntry - protected abstract org.slf4j.Logger getLogger()
Copyright © 2016–2023 Taimos GmbH. All rights reserved.