KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > tools > adaptor > AdaptorServerSocketFactory


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.tools.adaptor;
10
11 import java.io.IOException JavaDoc;
12 import java.net.ServerSocket JavaDoc;
13
14 /**
15  * The ServerSocket factory interface. <p>
16  * It allows to create ServerSocket for JMX adaptors
17  *
18  * @version $Revision: 1.3 $
19  */

20 public interface AdaptorServerSocketFactory
21 {
22    /**
23     * Creates a new ServerSocket on the specified port, with the specified backlog and on the given host. <br>
24     * The last parameter is useful for hosts with more than one IP address.
25     */

26    public ServerSocket JavaDoc createServerSocket(int port, int backlog, String JavaDoc host) throws IOException JavaDoc;
27 }
28
Popular Tags