mx4j.tools.adaptor

Interface AdaptorServerSocketFactory

Known Subinterfaces:
SSLAdaptorServerSocketFactoryMBean
Known Implementing Classes:
PlainAdaptorServerSocketFactory, SSLAdaptorServerSocketFactory

public interface AdaptorServerSocketFactory

The ServerSocket factory interface.

It allows to create ServerSocket for JMX adaptors

Version:
$Revision: 1.3 $

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.

Method Details

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog,
                                       String host)
            throws IOException
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.

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.