Interface IUserLogDAO
- All Known Implementing Classes:
UserLogDAO
public interface IUserLogDAO
- Author:
- lenaini
-
Method Summary
Modifier and TypeMethodDescriptionvoidInsert 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 Details
-
insertLog
Insert a new record in the table of connections- Parameters:
userLog- the UserLog Object
-
selectLoginErrors
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
-