Hello @Anna Golitsyna!
the 3rd example is 1 class that contains 2 basic functionalities: A Server and a Client.
The system you want to control runs the ClassMethod Server.
- opens an IP port and listens for orders, execute it, and continue looping.
- it is typically started in the background during system start (from %ZSTART.mac)
This is the "hidden Login"
The (Classmethod) Client connects to the listening port and sends a request and gets answers.
The structure of Requests and Answer is up to you and makes sure you have always control
over what should happen on the remote system. As your "Listener" is active already there
is no need for any further login. But you are of course free to implement it on top of this basic mechanic.
- Log in to post comments
.png)
.png)

.png)