Closed AymanSaleh23 closed 1 year ago
Implement an application handle the outer communication task of the project using micro-service technique.
Use com_socket.py library to create sockets for sending and receiving discrete data of frames between ports/machines.
com_socket.py
input:
output:
behavior:
Use functions support that from the Server class:
Server
update_to_send
send_frames
receive_frame
recv_discrete
yet, a test should be added.
add "Data Transmitter" a new implementation, a class that creates a thread to receive data from different modules and serve them to requesters.
Implement an application handle the outer communication task of the project using micro-service technique.
Use
com_socket.py
library to create sockets for sending and receiving discrete data of frames between ports/machines.input:
output:
behavior:
com_socket.py
libraryUse functions support that from the
Server
class:update_to_send
for asynchronously send discrete data.send_frames
for sending frames.Use functions support that from the
Server
class:receive_frame
for receiving frames from theServer
.recv_discrete
for receiving discrete data (list/dict/any type) from theServer
.