next up previous
Next: Coordination Services Up: Interagents Previous: Interagents

Communication Services

An interagent is informed by its user about the message to be sent and its addressee, and then the interagent carries out all the operations needed to deliver it correctly. An interagent and its user can communicate in two ways: a) through (TCP-)stream-sockets --in case that an interagent and its user are two distinct computational processes (residing in the same computer or not); b) through shared memory --in case that an interagent and its user are two distinct threads residing in the same process space.

An interagent provides its user with the following communication services based upon TCP/IP: i) queueing and serialization of outgoing messages from its user and queueing and serialization of incoming messages from (the interagents of) other agents; ii) asynchronous communication between agents; iii) synchronous communication between agents (implemented on top of buffered asynchronous communication between interagents); iv) agent naming services (white pages); v) handling of expired messages and automatic recovery of transmission errors.

Francisco Martin
Wed Sep 9 13:41:16 MET DST 1998