| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
endpointName |
protected ServerSocketFactory |
factory |
protected boolean |
resolveHostName |
protected Server |
server |
protected ServerSocket |
socket |
| 构造器和说明 |
|---|
ServerSocketEndPoint() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Runnable |
createRunnable(Socket client,
Properties config) |
protected ServerSocket |
createSocket(int port) |
String |
getName() |
protected String |
getProtocol() |
void |
initialize(String name,
Server server) |
void |
run() |
void |
shutdown(Server server) |
void |
start() |
protected ServerSocketFactory factory
protected ServerSocket socket
protected Server server
protected String endpointName
protected boolean resolveHostName
public void initialize(String name, Server server) throws IOException
initialize 在接口中 EndPointIOExceptionprotected ServerSocket createSocket(int port) throws IOException
IOExceptionpublic void start()
throws IOException
start 在接口中 EndPointIOExceptionprotected String getProtocol()
protected Runnable createRunnable(Socket client, Properties config) throws IOException
IOExceptionCopyright © 2025 onecode. All rights reserved.