public class TcpServerSocketFactory extends Object implements SimpleServerSocketFactory
Constructor and Description |
---|
TcpServerSocketFactory() |
Modifier and Type | Method and Description |
---|---|
protected ServerSocket |
configure(ServerSocket socket,
Boolean reuse,
InetSocketAddress address,
int backlog) |
ServerSocket |
createServerSocket(InetAddress address,
int port,
int backlog,
Boolean reuse) |
ServerSocket |
createServerSocket(int port,
int backlog,
Boolean reuse) |
ServerSocket |
createServerSocket(URI uri,
int backlog,
Boolean reuse) |
protected final Log logger
public ServerSocket createServerSocket(URI uri, int backlog, Boolean reuse) throws IOException
createServerSocket
in interface SimpleServerSocketFactory
uri
- The address and port to connect tobacklog
- The backlog (or Connector.INT_VALUE_NOT_SET
)reuse
- Whether to reuse addresses (null for default)IOException
public ServerSocket createServerSocket(InetAddress address, int port, int backlog, Boolean reuse) throws IOException
createServerSocket
in interface SimpleServerSocketFactory
IOException
public ServerSocket createServerSocket(int port, int backlog, Boolean reuse) throws IOException
createServerSocket
in interface SimpleServerSocketFactory
IOException
protected ServerSocket configure(ServerSocket socket, Boolean reuse, InetSocketAddress address, int backlog) throws IOException
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.