This commit is contained in:
NikolajDanger
2023-01-04 13:32:54 +01:00
parent 27bd644a94
commit f9a0c044c0
287 changed files with 28448 additions and 0 deletions

19
Assignment-2/client.ol Normal file
View File

@ -0,0 +1,19 @@
from .ServerInterface import ServerInterface
from file import File
service ExampleClient{
embed File as file
outputPort server {
Location: "socket://localhost:9000"
Protocol: sodep
Interfaces: ServerInterface
}
main {
readFile@file( {filename = "source.txt"} )( content )
setFileContent@server( content )()
}
}