Python implements automatic remote control (1)--Draw UML class diagram __python

Source: Internet
Author: User
1. UML Class Diagram Foundation--the representation method of various relations

2. Automated remote control UML diagram

Main requirements for automated remote control:

1. Telnet to the client without entering a password. Allows you to log in multiple units simultaneously

Client, you can also log on to the client more than once

2. On the login server, execute the command, can be done according to the command to perform the results, the corresponding operation

3. Programming in an object-oriented way (drawing a uml diagram)

There are three main roles in this process: Local_server,proxy,remote_client.

The main operation of Local_server is to initiate commands and connections

The primary operation of Proxy is to pass commands and connections

Execute a command and terminate a connection when Remote_client primary operation

The relationship between these three characters is very consistent with the agent model described in the seventh chapter of the "Dahua design pattern".



The UML diagram has been painted, and the next step is how to construct abstract classes and interfaces, and instantiate classes.





Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.