org.mule.transport.tcp
Interface SimpleServerSocketFactory
- All Known Implementing Classes:
- SslServerSocketFactory, TcpServerSocketFactory
public interface SimpleServerSocketFactory
createServerSocket
ServerSocket createServerSocket(URI uri,
int backlog,
Boolean reuse)
throws IOException
- Parameters:
uri
- The address and port to connect tobacklog
- The backlog (or Connector.INT_VALUE_NOT_SET
)reuse
- Whether to reuse addresses (null for default)
- Returns:
- A new, bound server socket
- Throws:
IOException
createServerSocket
ServerSocket createServerSocket(InetAddress address,
int port,
int backlog,
Boolean reuse)
throws IOException
- Throws:
IOException
createServerSocket
ServerSocket createServerSocket(int port,
int backlog,
Boolean reuse)
throws IOException
- Throws:
IOException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.