public class TcpServer
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
| 构造器和说明 |
|---|
TcpServer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
void |
close() |
int |
getPort() |
TcpServerHandler |
getTcpServerhandler() |
static void |
main(java.lang.String[] args) |
void |
setPort(int port) |
void |
setTcpServerhandler(TcpServerHandler tcpServerhandler) |
public int getPort()
public void setPort(int port)
public TcpServerHandler getTcpServerhandler()
public void setTcpServerhandler(TcpServerHandler tcpServerhandler)
public void close()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanjava.lang.Exception