Skip to content

Latest commit

 

History

History
92 lines (56 loc) · 2.09 KB

File metadata and controls

92 lines (56 loc) · 2.09 KB

Description

This is a simple Chat Server-Client without any GUI.

Image

Functionality

  • DB Connection

Using: JDBC Driver

Init function: Create tables if they do not exist


  • Server

Using: ServerSocket

Functions: Login, Register, Last Messages, Help Text, Commands


  • Client

Using: ServerSocket

Functions: Send Message / Command, Read Message

Image

Function: Login

  • Validations
  • Check and get last messages to the account after login

Image

Function: Logout

  • Validation
  • Simple command

Image

Function: Last Messages

  • Simple query with limit
  • Print the messages in DESC

Image

Function: List

  • Show online users logged in

Image

Function: Help Text

  • Show the text on each login
  • Show usage of the commands

Image

Function: Commands

  • Command: Login -> Login Function
  • Command: Logout -> Logout Function
  • Command: List -> Online Users
  • Command: History -> Last Messages with limit
  • Command: Help -> Help Text
  • Send Messages