413f8da6b3
svn path=/trunk/KDE/kdelibs/; revision=1023814
22 lines
331 B
Plaintext
22 lines
331 B
Plaintext
include "console.iol"
|
|
|
|
interface CalculatorInterface {
|
|
RequestResponse:
|
|
add
|
|
}
|
|
|
|
|
|
outputPort Calculator {
|
|
Location: "socket://localhost:9001/!/Calculator"
|
|
Protocol: soap { .debug = 1 }
|
|
Interfaces: CalculatorInterface
|
|
}
|
|
|
|
main
|
|
{
|
|
request.x = 2;
|
|
request.y = 3;
|
|
add@Calculator( request )( response );
|
|
println@Console( response )()
|
|
}
|