1 package fr.ove.utils;
2
3 /***
4 * The interface to implement for all objects that are intended to configure
5 * a connection.
6 */
7 public interface ConnectionConfigurable {
8 /***
9 * Sets the host name for the connection to configure.
10 * @param name the host name.
11 */
12 public void setHostName(String name);
13
14 /***
15 * Returns the host name for the connection to configure.
16 */
17 public String getHostName();
18
19 /***
20 * Sets the port number for the connexion to configure.
21 * @param number the port number.
22 */
23 public void setPortNumber(int number);
24
25 /***
26 * Returns the port number for the connexion to configure.
27 */
28 public int getPortNumber() ;
29 }