Server Data Model - UserXXX/vCom GitHub Wiki

UML diagram

Notes

  • The attribute currentInboxSize in the User class is a derived attribute that contains the size (in bytes) of not read messages that are stored for the user
  • Settings class:
    • maxFileSize restricts the maximum size files can have that are transmitted between users
    • maxKnownUserCount specifies how many users can be stored in the database
    • maxOnlineUserCount specifies how many users can be online simultaneously
    • messageLifeTime specifies how long messages are stored
    • scheduledUpdate type specifies the type of update to perform when an UpdateAction is scheduled
  • All data wrapped by the classes from the 'database' package is stored in a database, only exception is the onlineUsers list of 'VComModel', this is stored in memory
  • All data wrapped by the classes from the 'settings' package is stored in human readable config files

Original file

The original file containing the model can be found here: https://dl.dropboxusercontent.com/u/79973663/vCom/Models/Server%20model.asta