Sets the port on which this server will accept connections. @param port the port on which this server will accept connections
(int port)
| 1933 | * @param port the port on which this server will accept connections |
| 1934 | */ |
| 1935 | public void setPort(int port) { |
| 1936 | this.port = port; |
| 1937 | } |
| 1938 | |
| 1939 | /** |
| 1940 | * Sets the factory used to create the server socket. |