Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Random Interface Thoughts Kai

Kai W edited this page Nov 17, 2020 · 3 revisions

Interface Thoughts

General

Split in 2 groups, API-Interface -> Logic and Logic -> Api-Interface EDIT: Idea Dropped, only one directional access with return values are the option here. Seperate interfaces for the directions Interface methodes grouped by the class that has to implement them

Login/out

Login Logout

Updater TODO edit

API-Interface -> Logic

  • NewMessageHandler
  • ConnectionFailedHandler

Logic -> Api-Interface

  • Check for new Messages (autonomously?)
  • Refresh access (autonomously?)

Comunications TODO EDIT

API-Interface -> Logic

  • MessageRecieve
  • ChatsListRevieve

Logic -> Api-Interface

  • MessageSend
  • ListChats
  • OpenChat (new chat?/Groupe chat)