org.apithefire.sql.connect
Interface RemoteConnector

All Superinterfaces:
Closeable, ConnectionProvider

public interface RemoteConnector
extends ConnectionProvider

A remote connector connects to remote server to obtain connection.

Author:
Chew Boon Aik

Method Summary
 java.lang.String getDatabaseName()
          Returns database name.
 java.lang.String getHost()
          Returns server name.
 int getLoginTimeout()
          Returns the maximum time in seconds that this data source can wait while attempting to connect to a database.
 java.lang.String getPassword()
          Returns password used to connect to server.
 int getPort()
          Returns remote port number.
 java.lang.String getUsername()
          Returns username used to connect to server.
 
Methods inherited from interface org.apithefire.sql.connect.ConnectionProvider
getConnection
 
Methods inherited from interface org.apithefire.util.lang.Closeable
close
 

Method Detail

getHost

java.lang.String getHost()
Returns server name.


getPort

int getPort()
Returns remote port number.


getDatabaseName

java.lang.String getDatabaseName()
Returns database name.


getUsername

java.lang.String getUsername()
Returns username used to connect to server.


getPassword

java.lang.String getPassword()
Returns password used to connect to server.


getLoginTimeout

int getLoginTimeout()
Returns the maximum time in seconds that this data source can wait while attempting to connect to a database.



Copyright © 2008. All Rights Reserved.