https://doi.org/10.71352/ac.52.073
UML based modeling and code generation of
network protocols
Abstract. For a high-level description of communication protocols for client-server architectures, we present a modified version of the UML class diagram. This makes it easier to understand the protocol with the help of the diagram, and to automatically generate its code in a specific programming language. Using this method, programmers unfamiliar with network communication can easily and quickly implement a reliable client-server connection in a platform-independent manner. The procedure speeds up the creation of programs, reduces the number of possible errors, and helps programmers focus on the problem to be solved.
Key words and phrases. UML, class diagram, communication protocol, code understanding, client-server connection, code generation, websocket.
Full text PDF
ELTE Eötvös Loránd University