org.opennms.netmgt.provision.detector.jdbc.client
Class JDBCClient
java.lang.Object
org.opennms.netmgt.provision.detector.jdbc.client.JDBCClient
- All Implemented Interfaces:
- Client<JDBCRequest,JDBCResponse>
public class JDBCClient
- extends Object
- implements Client<JDBCRequest,JDBCResponse>
- Author:
- thedesloge
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCClient
public JDBCClient()
close
public void close()
- Specified by:
close in interface Client<JDBCRequest,JDBCResponse>
connect
public void connect(InetAddress address,
int port,
int timeout)
throws IOException,
Exception
- Specified by:
connect in interface Client<JDBCRequest,JDBCResponse>
- Throws:
IOException
Exception
receiveBanner
public JDBCResponse receiveBanner()
throws IOException,
Exception
- Specified by:
receiveBanner in interface Client<JDBCRequest,JDBCResponse>
- Throws:
IOException
Exception
sendRequest
public JDBCResponse sendRequest(JDBCRequest request)
throws IOException,
Exception
- Specified by:
sendRequest in interface Client<JDBCRequest,JDBCResponse>
- Throws:
IOException
Exception
setDbDriver
public void setDbDriver(String dbDriver)
getDbDriver
public String getDbDriver()
setUser
public void setUser(String user)
getUser
public String getUser()
setPassword
public void setPassword(String password)
getPassword
public String getPassword()
setUrl
public void setUrl(String url)
getUrl
public String getUrl()
Copyright © 2009. All Rights Reserved.