This paper begins with the comparison of the message- sending mechanism, for communication among agents, and the method-invocation mechanism, for communication among objects. Then, we describe an extension of the method invocation mechanism by introducing the notion of “sender” of a message, “state” of the interaction and “protocol” using the notion of “role”, as it has been introduced in the powerJava extension of Java. The use of roles in communication is shown by means of an example of protocol.
Bridging Agent Theory and Object Orientation: Agent-like Communication among Objects
BALDONI, Matteo;BOELLA, Guido;
2007-01-01
Abstract
This paper begins with the comparison of the message- sending mechanism, for communication among agents, and the method-invocation mechanism, for communication among objects. Then, we describe an extension of the method invocation mechanism by introducing the notion of “sender” of a message, “state” of the interaction and “protocol” using the notion of “role”, as it has been introduced in the powerJava extension of Java. The use of roles in communication is shown by means of an example of protocol.File in questo prodotto:
Non ci sono file associati a questo prodotto.
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.