Git Product home page Git Product logo

instant-messenger-cpp's People

Contributors

andy9822 avatar cassianojaeger avatar gabriel-inf avatar guilhermechaves avatar

Watchers

 avatar  avatar  avatar

instant-messenger-cpp's Issues

## Group Manager

  • Lista de threads (gerenciador de comunicação matar a thread).
  • Arquivo de persistência.
  • Thread que fica ouvindo o grup e fazando broadcast.

Front End

  • Criar arquivo Front End
  • Cliente conectar no Front End
  • Front End conectar no Serivdor

Eleição de Líder

  • Implementar algoritmo eleição
  • Testar derrubar primário e que alguém assumiu (sem se preocupar com redundância e replicação mensagens, pode ser "hello world assumi")

Format and process input string

Da forma que está hoje, um usuário pode enviar uma string vazia ou preenchida de tabs.

A solução mais simples e eficiente é ler o input como um getline(cin, string)

keep-alive

Implement keep-alive to detect user disconnected without signalizing it.

Replicação

  • Passiva
  • FE espera por um OK de quando todos os RM tiverem recebido a mensagem e salvo
  • Qnd o server terminar de replicar a mensagem para todos os backups, enviar um ack para o usuário (isso tah feito na branch de integração do FE com o Server.

Server - FE integration

Server

  • prepare for dispositive identifier
  • handle new user connection as I control message.
  • handle FE disconnection
  • handle User connection/disconnection as control messages that is being received from FE.
  • fix the bug for FE disconnection
  • answer ACK_PACKET when every message is received.
  • add TODO to replication
  • convert clientDispositiveIdentifier from int to user_id[UUID_SIZE]
    ....

--

Connection Proxy

  • plug a real FE
  • fulfill the messages with the necessary fields in the FE
    ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.