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 Device device
protected ExecutorService executor
protected ScheduledExecutorService scheduledExecutor
protected void init(Device device)
public void setDevice(Device device)
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 © 2014 dcm4che.org. All Rights Reserved.