org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor
Class PlainAdaptorServerSocketFactory
java.lang.Object
org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.PlainAdaptorServerSocketFactory
- All Implemented Interfaces:
- AdaptorServerSocketFactory
public class PlainAdaptorServerSocketFactory
- extends Object
- implements AdaptorServerSocketFactory
Creates plain ServerSockets.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Carlos Quiroz, Simone Bordet
Method Summary |
ServerSocket |
createServerSocket(int port,
int backlog,
String host)
Creates a new ServerSocket on the specified port, with the specified backlog and on the given host. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainAdaptorServerSocketFactory
public PlainAdaptorServerSocketFactory()
createServerSocket
public ServerSocket createServerSocket(int port,
int backlog,
String host)
throws IOException
- Description copied from interface:
AdaptorServerSocketFactory
- Creates a new ServerSocket on the specified port, with the specified backlog and on the given host.
The last parameter is useful for hosts with more than one IP address.
- Specified by:
createServerSocket
in interface AdaptorServerSocketFactory
- Throws:
IOException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.