client-server-architecture
所属分类:云计算
开发工具:C++
文件大小:21KB
下载次数:0
上传日期:2019-05-18 12:14:53
上 传 者:
sh-1993
说明: 客户端-服务器架构,一种类似云计算的服务器-客户端模型
(client-server-architecture,A cloud computing liked Server-Client model)
文件列表:
.travis.yml (269, 2019-05-18)
CMakeLists.txt (2534, 2019-05-18)
cmake (0, 2019-05-18)
cmake\get_gtest.cmake.in (449, 2019-05-18)
include (0, 2019-05-18)
include\AtomicDequeue.hpp (1052, 2019-05-18)
include\AtomicDequeue_impl.hpp (1383, 2019-05-18)
include\ClientID.hpp (323, 2019-05-18)
include\JobID.hpp (302, 2019-05-18)
include\JobInput.hpp (525, 2019-05-18)
include\JobOutput.hpp (739, 2019-05-18)
include\Server.hpp (2210, 2019-05-18)
include\ServerThread.hpp (2093, 2019-05-18)
include\Socket.hpp (2134, 2019-05-18)
src (0, 2019-05-18)
src\ClientID.cpp (377, 2019-05-18)
src\JobID.cpp (347, 2019-05-18)
src\JobInput.cpp (198, 2019-05-18)
src\JobOutput.cpp (355, 2019-05-18)
src\Server.cpp (2918, 2019-05-18)
src\ServerThread.cpp (2369, 2019-05-18)
src\Socket.cpp (1657, 2019-05-18)
test (0, 2019-05-18)
test\test_id.cpp (408, 2019-05-18)
test\test_job_io.cpp (704, 2019-05-18)
test\test_queue.cpp (1285, 2019-05-18)
test\test_server.cpp (4600, 2019-05-18)
test\test_server_thread.cpp (1956, 2019-05-18)
test\test_socket.cpp (1425, 2019-05-18)
test\test_system.cpp (2581, 2019-05-18)
watchDog.md (1524, 2019-05-18)
Travis Status.
-------------
[![Build Status](https://travis-ci.com/sht-cs133/hw4-c-s-architecture-YuXinFan.svg?token=appyqywAiysphxXppp9y&branch=master)](https://travis-ci.com/sht-cs133/hw4-c-s-architecture-YuXinFan)
## Notices
This starter code template has several minor changes to the released instructions:
1. You have to implement operator `<` and `==` for [JobID](include/JobID.hpp);
2. We add one additional API `getResult(const JobID &i)` for [Socket](include/Socket.hpp)
class, please read the inline comments in header file;
3. The `watchDog` method in [Server](include/ServerThread.hpp) class is made public,
to enable it be tested later;
Please note that implementing `watchDog` is **an optional bonus**, and relevant
tests for `watchDog` are disabled by default. If you accomplished this bonus, please:
1. Briefly describe your design and implementation in **another markdown file**
and put it in project root;
2. Edit travis configuration file [.travis.yml](.travis.yml), comment out `--gtest_filter="-*.test_watch_dog"`
in line 9, then all tests will be activated.
> Happy coding~
近期下载者:
相关文件:
收藏者: