public class NettyWsServer extends java.lang.Object implements ServerLifecycle
| 构造器和说明 |
|---|
NettyWsServer(WebSocketServerProps props) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
start(java.lang.String host,
int port)
启动
|
void |
stop()
停止
|
protected boolean |
supportSsl() |
public NettyWsServer(WebSocketServerProps props)
protected boolean supportSsl()
public void start(java.lang.String host,
int port)
throws java.lang.Throwable
ServerLifecyclestart 在接口中 ServerLifecyclehost - 主机(ip)port - 端口java.lang.Throwablepublic void stop()
throws java.lang.Throwable
ServerLifecyclestop 在接口中 ServerLifecyclejava.lang.Throwable