public abstract class ADaemonMessageHandler extends Object
| Constructor and Description |
|---|
ADaemonMessageHandler(Class<? extends IDaemonHandler> aHandlerClazz,
boolean aThrowExceptionOnTimeout) |
ADaemonMessageHandler(Class<? extends IDaemonHandler> aHandlerClazz,
boolean aCatchExceptionsInRequestHandler,
boolean aThrowExceptionOnTimeout)
Deprecated.
use ADaemonMessageHandler(aHandlerClazz, aThrowExceptionOnTimeout) instead
|
ADaemonMessageHandler(Map<Class<? extends InterconnectObject>,DaemonScanner.DaemonMethod> aRegistry,
boolean aCatchExceptionsInRequestHandler,
boolean aThrowExceptionOnTimeout)
Deprecated.
use ADaemonMessageHandler(aHandlerClazz, aThrowExceptionOnTimeout) instead
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract IDaemonHandler |
createRequestHandler()
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.
|
public ADaemonMessageHandler(Class<? extends IDaemonHandler> aHandlerClazz, boolean aThrowExceptionOnTimeout)
aHandlerClazz - Handler classaThrowExceptionOnTimeout - if true throw Exception if timeout is reached@Deprecated public ADaemonMessageHandler(Class<? extends IDaemonHandler> aHandlerClazz, boolean aCatchExceptionsInRequestHandler, boolean aThrowExceptionOnTimeout)
aHandlerClazz - Handler classaCatchExceptionsInRequestHandler - if true Exceptions during execution are catched and returned as a DaemonErroraThrowExceptionOnTimeout - if true throw Exception if timeout is reached@Deprecated public ADaemonMessageHandler(Map<Class<? extends InterconnectObject>,DaemonScanner.DaemonMethod> aRegistry, boolean aCatchExceptionsInRequestHandler, boolean aThrowExceptionOnTimeout)
aRegistry - RegistryaCatchExceptionsInRequestHandler - if true Exceptions during execution are catched and returned as a DaemonErroraThrowExceptionOnTimeout - 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()
protected abstract org.slf4j.Logger getLogger()
Copyright © 2016 Taimos GmbH. All rights reserved.