Skip to content

Server Statistics - #49

Merged
tasneem-hakeem merged 14 commits into
developfrom
feature/server-statistics
Jan 8, 2026
Merged

Server Statistics#49
tasneem-hakeem merged 14 commits into
developfrom
feature/server-statistics

Conversation

@tasneem-hakeem

Copy link
Copy Markdown
Member

This PR introduces:

  • Session refactor: Renamed ActivityDAO to SessionDAO and updated all related terms.

  • Model update: Renamed ActivityPoint model class to Session.

  • Hourly tracking entity: Created ActivityPoint entity specifically for tracking hourly player counts.

  • Player entity: Added PlayerEntity class for domain-layer player representation.

  • Player service: Created PlayerService for player-related operations.

  • Login enhancement: Integrated PlayerSessionService to start sessions on successful login.

  • Online tracking: Added method to GameServerManager to get the current online player count.

  • Offline tracking: Added a method to calculate the offline player count.
    closes Server Statistics Feature #12

…tistics

# Conflicts:
#	src/main/java/com/mycompany/tictactoeserver/datasource/database/dao/SessionDAO.java
#	src/main/java/com/mycompany/tictactoeserver/datasource/model/Session.java
#	src/main/java/com/mycompany/tictactoeserver/domain/services/statistics/ActivityService.java
#	src/main/java/com/mycompany/tictactoeserver/domain/services/statistics/StatisticsManager.java
#	src/main/java/com/mycompany/tictactoeserver/domain/services/statistics/StatisticsManagerImpl.java
#	src/main/java/com/mycompany/tictactoeserver/domain/utils/exception/ActivityNotFoundException.java
#	src/main/java/com/mycompany/tictactoeserver/domain/utils/exception/SessionNotFoundException.java
@tasneem-hakeem
tasneem-hakeem marked this pull request as draft January 7, 2026 20:51
@tasneem-hakeem
tasneem-hakeem marked this pull request as ready for review January 8, 2026 06:14
@tasneem-hakeem
tasneem-hakeem merged commit df5cf3c into develop Jan 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Server Statistics Feature

3 participants