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 IEnginepublic void routineTasks()
routineTasks in interface IEnginepublic GatewayConfig config()
public void sendSleepNode(IMessage message)
sendSleepNode in interface IEnginepublic void clearSleepQueue(String nodeEui)
clearSleepQueue in interface IEnginepublic void auditGateway()
public void auditQueue()
auditQueue in interface IEngineCopyright © 2015–2019. All rights reserved.