public class WsServerConfig extends Object
Constructor and Description |
---|
WsServerConfig() |
WsServerConfig(Integer bindPort) |
Modifier and Type | Method and Description |
---|---|
String |
getBindIp() |
Integer |
getBindPort() |
String |
getCharset() |
IWsMsgHandler |
getWsMsgHandler() |
void |
setBindIp(String bindIp) |
void |
setBindPort(Integer bindPort) |
void |
setCharset(String charset) |
void |
setWsMsgHandler(IWsMsgHandler wsMsgHandler) |
public WsServerConfig()
public WsServerConfig(Integer bindPort)
public String getBindIp()
public void setBindIp(String bindIp)
bindIp
- the bindIp to setpublic Integer getBindPort()
public String getCharset()
public void setCharset(String charset)
charset
- the charset to setpublic IWsMsgHandler getWsMsgHandler()
public void setWsMsgHandler(IWsMsgHandler wsMsgHandler)
public void setBindPort(Integer bindPort)
Copyright © 2018. All rights reserved.