•Update
–Function may change
the state of media that implements the interface
•Eval
–Function may NOT
change the state of the media…
interface IntReader extends Port {
update int
readInt();
eval int
n();
}
Interface IntWriter extends Port {
update void
writeInt(int data);
eval int
space();
}