public interface IService
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
IService.ServiceState |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearAttributes() |
void |
closeService()
关闭服务
|
Object |
getAttribute(String key) |
IService.ServiceState |
getState()
获取服务状态
|
boolean |
hasAttribute(String key) |
Object |
removeAttribute(String key) |
void |
setAttribute(String key,
Object value) |
void |
startService()
启动服务
|
void startService()
void closeService()
IService.ServiceState getState()
boolean hasAttribute(String key)
void clearAttributes()
Copyright © 2020. All rights reserved.