org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor
Class PlainAdaptorServerSocketFactory

java.lang.Object
  extended by 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

Constructor Summary
PlainAdaptorServerSocketFactory()
           
 
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
 

Constructor Detail

PlainAdaptorServerSocketFactory

public PlainAdaptorServerSocketFactory()
Method Detail

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 © 2013 The Apache Software Foundation. All Rights Reserved.