Interface IUserLogDAO
-
- All Known Implementing Classes:
UserLogDAO
public interface IUserLogDAO- Author:
- lenaini
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinsertLog(UserLog userLog)Insert a new record in the table of connectionsintselectLoginErrors(UserLog userLog, int nIntervalMinutes)Calculate the number of connections with a given ip_address by a determinate time
-
-
-
Method Detail
-
insertLog
void insertLog(UserLog userLog)
Insert a new record in the table of connections- Parameters:
userLog- the UserLog Object
-
selectLoginErrors
int selectLoginErrors(UserLog userLog, int nIntervalMinutes)
Calculate the number of connections with a given ip_address by a determinate time- Parameters:
userLog- The Log of connectionnIntervalMinutes- The number of minutes since the last connection- Returns:
- int
-
-