Class ClientEvent
java.lang.Object
org.kawanfw.sql.api.server.executor.ClientEvent
public class ClientEvent extends Object
Allows to get all details of a
ServerQueryExecutor call asked by the client side.- Since:
- 9.1
- Author:
- Nicolas de Pomereu
-
Method Summary
Modifier and Type Method Description StringgetDatabase()Returns the database name.StringgetIpAddress()Returns the IP address of the client user.List<String>getParameterStringValues()Returns the parameter String values.List<Object>getParameterValues()Returns the parameter values to pass to the server query.StringgetUsername()Returns the client username that asked to execute the server query.StringtoString()
-
Method Details
-
getUsername
Returns the client username that asked to execute the server query.- Returns:
- the client username that asked to execute the server query
-
getDatabase
Returns the database name.- Returns:
- the database name
-
getIpAddress
Returns the IP address of the client user.- Returns:
- the ipAddress of the client user
-
getParameterValues
Returns the parameter values to pass to the server query.- Returns:
- the parameter values to pass to the server query
-
getParameterStringValues
Returns the parameter String values.- Returns:
- the parameter String values
-
toString
-