fr.ove.utils
Interface ConnectionConfigurable

All Known Implementing Classes:
Connection, ConnectionFactory

public interface ConnectionConfigurable

The interface to implement for all objects that are intended to configure a connection.


Method Summary
 java.lang.String getHostName()
          Returns the host name for the connection to configure.
 int getPortNumber()
          Returns the port number for the connexion to configure.
 void setHostName(java.lang.String name)
          Sets the host name for the connection to configure.
 void setPortNumber(int number)
          Sets the port number for the connexion to configure.
 

Method Detail

setHostName

public void setHostName(java.lang.String name)
Sets the host name for the connection to configure.

Parameters:
name - the host name.

getHostName

public java.lang.String getHostName()
Returns the host name for the connection to configure.


setPortNumber

public void setPortNumber(int number)
Sets the port number for the connexion to configure.

Parameters:
number - the port number.

getPortNumber

public int getPortNumber()
Returns the port number for the connexion to configure.



Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.