org.mule.transport.tcp
Class TcpServerSocketFactory
java.lang.Object
org.mule.transport.tcp.TcpServerSocketFactory
- All Implemented Interfaces:
- SimpleServerSocketFactory
- Direct Known Subclasses:
- SslServerSocketFactory
public class TcpServerSocketFactory
- extends Object
- implements SimpleServerSocketFactory
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpServerSocketFactory
public TcpServerSocketFactory()
createServerSocket
public ServerSocket createServerSocket(URI uri,
int backlog,
Boolean reuse)
throws IOException
- Specified by:
createServerSocket
in interface SimpleServerSocketFactory
- 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
public ServerSocket createServerSocket(InetAddress address,
int port,
int backlog,
Boolean reuse)
throws IOException
- Specified by:
createServerSocket
in interface SimpleServerSocketFactory
- Throws:
IOException
createServerSocket
public ServerSocket createServerSocket(int port,
int backlog,
Boolean reuse)
throws IOException
- Specified by:
createServerSocket
in interface SimpleServerSocketFactory
- Throws:
IOException
configure
protected ServerSocket configure(ServerSocket socket,
Boolean reuse,
InetSocketAddress address,
int backlog)
throws IOException
- Throws:
IOException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.