A method of defining communication modes between data processing units, the method being performed by a memory of one the data processing units, the memory including a data structure that includes at least one application program and a, possibly empty, set of data elements that are either permanently stored or computed, the at least one application program including at least one interaction contex