public void run(){ // Canteen
One2OneChannelInt ServertoService =
new One2OneChannelInt();
One2OneChannelInt ServicetoServer =
new One2OneChannelInt();
new Parallel( new CSProcess[]{
new Server(fromPhil, toPhil,
ServertoService, ServicetoServer),
new Service(fromChef,
ServertoService, ServicetoServer)
}).run();
}
Previous slide | Next slide | Back to first slide | View graphic version |