public class DoipServerImpl extends java.lang.Object implements DoipServer
| 限定符和类型 | 类和说明 |
|---|---|
class |
DoipServerImpl.ListenerContainer |
| 限定符和类型 | 字段和说明 |
|---|---|
protected DoipServiceInfo |
serviceInfo |
| 构造器和说明 |
|---|
DoipServerImpl(DoipServiceInfo info) |
| 限定符和类型 | 方法和说明 |
|---|---|
static DoipServer |
createDoipServer(DoipServiceInfo info) |
DoipRequestHandler |
getRequestCallback() |
void |
setRepositoryHandler(RepositoryHandler handler) |
void |
setRequestCallback(DoipRequestHandler requestCallback) |
void |
start() |
void |
start(StartServerCallback cb) |
void |
stop() |
protected DoipServiceInfo serviceInfo
public DoipServerImpl(DoipServiceInfo info)
public static DoipServer createDoipServer(DoipServiceInfo info)
public void start()
start 在接口中 DoipServerpublic void start(StartServerCallback cb)
public void stop()
stop 在接口中 DoipServerpublic void setRepositoryHandler(RepositoryHandler handler)
setRepositoryHandler 在接口中 DoipServerpublic void setRequestCallback(DoipRequestHandler requestCallback)
public DoipRequestHandler getRequestCallback()