vivimbob/ft_irc

💡 [INVITE command] INVITE 명령어 구현 시작 세팅하기

Yudongwoo opened this issue · 1 comments

🔑 How

  • INVITE 명령어 구현 시작 세팅하기
    • invite.cpp 파일 만들기
      • logger.hpp, utils.hpp 등 필요한 header include하기
    • server.hpp에 선언부 만들기
    • m_command_map에 'INVITE' string과 process_invite_command 함수 묶기
      • m_command_map
        • Server 클래스 멤버 변수
        • 각 명령어 string과 그 명령어 처리 함수를 각각 key, value로 저장하는 map.
  • INVITE 명령어 테스트 세팅하기
    • test/srcs/testcase에 invite_message.cpp 파일 추가하기
    • test/Makefile에 invite_message.cpp 파일 추가하기
    • test/includes/test.hpp에 test_invite_message() 함수 추가하기
    • test/srcs/test.cpp에 test_start() 함수에 test_invite_message() 함수 추가하기

✔ To-dos

  • INVITE 명령어 구현 시작 세팅하기
    • invite.cpp 파일 만들고 commands 폴더에 추가하기
    • server.hpp에 process_invite_command 함수 추가하기
    • m_command_map에 "INVITE" 와 process_invite_command 함수 묶기
    • Makefile에 invite.cpp 추가하기
  • INVITE 명령어 테스트 세팅하기
    • test/srcs/testcase에 invite_message.cpp 파일 추가하기
    • test/Makefile에 invite_message.cpp 파일 추가하기
    • test/includes/test.hpp에 test_invite_message() 함수 추가하기
    • test/srcs/test.cpp에 test_start() 함수에 test_invite_message() 함수 추가하기

Originally posted by @Yudongwoo in #182 (comment)

development 브랜치에서 해당 이슈(#191) 브랜치 만들기
브랜치 이름 : 191/dyu/enhancement/Set_invite_command