DBAbstract API Documentation

ro.raducora.utils.props
Interface ClientTCPProps

All Superinterfaces:
Props
All Known Implementing Classes:
ClientTCPProperties, ClientTCPXMLProperties

public interface ClientTCPProps
extends Props

Author:
Radu Coravu

Method Summary
 java.lang.String getServerIP(java.lang.String dbname)
          Gets Server IP for the specific key
 int getServerPORT(java.lang.String dbname)
          Gets Server PORT for the specific key
 
Methods inherited from interface ro.raducora.utils.props.Props
reload
 

Method Detail

getServerIP

public java.lang.String getServerIP(java.lang.String dbname)
Gets Server IP for the specific key

Parameters:
dbname - Key to search
Returns:
the Server IP or hostname(without port) to connect to

getServerPORT

public int getServerPORT(java.lang.String dbname)
Gets Server PORT for the specific key

Parameters:
dbname - Key to search
Returns:
the Server PORT to connect to

DBAbstract API Documentation

© Copyright Radu Coravu 2002 - 2004.