2009-02-06 15:28:49 +01:00
|
|
|
include "console.iol"
|
|
|
|
|
|
|
|
inputPort PrinterService {
|
2009-02-08 22:12:45 +01:00
|
|
|
Location: "local"
|
2009-02-06 15:28:49 +01:00
|
|
|
Protocol: sodep
|
|
|
|
RequestResponse:
|
|
|
|
printInput
|
|
|
|
}
|
|
|
|
|
|
|
|
main
|
|
|
|
{
|
2009-02-07 17:27:59 +01:00
|
|
|
printInput(input)(result) {
|
|
|
|
println@Console(input)();
|
|
|
|
result = "success"
|
2009-02-06 15:28:49 +01:00
|
|
|
}
|
|
|
|
}
|
2009-02-07 17:27:59 +01:00
|
|
|
|