public class DeviceService extends Object implements DeviceServiceInterface
| Modifier and Type | Field and Description |
|---|---|
protected Device |
device |
protected ExecutorService |
executor |
protected ScheduledExecutorService |
scheduledExecutor |
| Constructor and Description |
|---|
DeviceService() |
| Modifier and Type | Method and Description |
|---|---|
protected ExecutorService |
executerService() |
Device |
getDevice() |
protected void |
init(Device device) |
boolean |
isRunning() |
protected ScheduledExecutorService |
scheduledExecuterService() |
void |
setDevice(Device device) |
void |
start() |
void |
stop() |
protected ExecutorService executor
protected ScheduledExecutorService scheduledExecutor
public DeviceService()
public Device getDevice()
getDevice in interface DeviceServiceInterfacepublic boolean isRunning()
isRunning in interface DeviceServiceInterfacepublic void start() throws Exception
start in interface DeviceServiceInterfaceExceptionpublic void stop()
stop in interface DeviceServiceInterfaceprotected ExecutorService executerService()
protected ScheduledExecutorService scheduledExecuterService()
Copyright © 2017 dcm4che.org. All rights reserved.