public abstract class EngineAbstract extends Object implements IEngine
Modifier and Type | Field and Description |
---|---|
protected IExecutor |
_executor |
protected IGateway |
_gateway |
protected MessageQueueImpl |
_queue |
protected MessageQueueSleepImpl |
_queueSleep |
Constructor and Description |
---|
EngineAbstract(GatewayConfig _config) |
Modifier and Type | Method and Description |
---|---|
void |
auditGateway() |
void |
auditQueue() |
void |
clearSleepQueue(String nodeEui) |
GatewayConfig |
config() |
void |
distory() |
boolean |
isRunning() |
EngineStatistics |
processingRate() |
void |
routineTasks() |
void |
run() |
void |
send(IMessage message) |
void |
sendSleepNode(IMessage message) |
void |
start() |
void |
stop() |
protected MessageQueueImpl _queue
protected MessageQueueSleepImpl _queueSleep
protected IGateway _gateway
protected IExecutor _executor
public EngineAbstract(GatewayConfig _config)
public EngineStatistics processingRate()
processingRate
in interface IEngine
public void routineTasks()
routineTasks
in interface IEngine
public GatewayConfig config()
public void sendSleepNode(IMessage message)
sendSleepNode
in interface IEngine
public void clearSleepQueue(String nodeEui)
clearSleepQueue
in interface IEngine
public void auditGateway()
public void auditQueue()
auditQueue
in interface IEngine
Copyright © 2015–2019. All rights reserved.