public abstract class AbstractJdbcDetector extends BasicDetector<JDBCRequest,JDBCResponse>
Abstract AbstractJdbcDetector class.
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_PORT
Constant
DEFAULT_PORT=3306 |
Modifier | Constructor and Description |
---|---|
protected |
AbstractJdbcDetector(String serviceName,
int port)
Constructor for AbstractJdbcDetector.
|
Modifier and Type | Method and Description |
---|---|
protected Client<JDBCRequest,JDBCResponse> |
getClient()
getClient
|
String |
getDbDriver()
getDbDriver
|
String |
getPassword()
getPassword
|
String |
getUrl()
getUrl
|
String |
getUser()
getUser
|
protected static ResponseValidator<JDBCResponse> |
resultSetNotNull()
resultSetNotNull
|
void |
setDbDriver(String dbDriver)
setDbDriver
|
void |
setPassword(String password)
setPassword
|
void |
setUrl(String url)
setUrl
|
void |
setUser(String username)
setUser
|
dispose, expectBanner, getConversation, isServiceDetected, send, send
detect
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, onInit, setIpMatch, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
protected static ResponseValidator<JDBCResponse> resultSetNotNull()
resultSetNotNull
ResponseValidator
object.protected Client<JDBCRequest,JDBCResponse> getClient()
getClient
getClient
in class BasicDetector<JDBCRequest,JDBCResponse>
Client
object.public void setDbDriver(String dbDriver)
setDbDriver
dbDriver
- a String
object.public void setPassword(String password)
setPassword
password
- a String
object.Copyright © 2018. All rights reserved.