l22_april9 - Lecture 22 April 9, 2002 Subprotocols static...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Lecture 22 – April 9, 2002 Subprotocols – static and dynamic. Property access subprotocol Security models
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Subprotocols Dialects – Conversations The set of Bond messages is partitioned into small closed subsets of commands necessary to perform a specific task. Each message identifies the subprotocol the message belongs to. Closed set of messages – commands in a subprotocol do not reference commands outside it. An object either understands all messages in a subprotocol or none of them.
Background image of page 2
3 Subprotocols Each Bond object has a property called SubprotocolsImplemented that lists the subprotocols implemented by the object. All Bond objects implement the Property Access subprotocol. All agents including implement the Agent Control subprotocol. Other suprotocols: Security, Monitoring, Scheduling, Data Staging, Persistent Storage, Registration
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 A g e n t X A g e n t X M o n it o r in g P r o p e r t y A c c e s s S e c u r it y A g e n t C o n t r o l A g e n t Y A g e n t Z S u b p r o t o c o ls I m p le m e n t e d = A g e n t C o n t r o l, S e c u r it y S u b p r o t o c o ls I m p le m e n t e d = A g e n t C o n t r o l, M o n it o r in g S u b p r o t o c o ls I m p le m e n t e d = A g e n t C o n t r o l
Background image of page 4
5 Static subprotocols A Bond object hierarchy inherits the subprotocols implemented by the objects above it in the object hierarchy. The messaging thread delivers an incoming message to the say() method of the object. If the say() method of the object does not understand the message it passes it to the say() methods of the immediate ancestor of the object.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Example of protocol inheritance The ancestors of the bondSchedulerAgent are bondScheduler, bondAgent, bondExecutable, bondObject . The bondSchedulerAgent is capable of understanding all messages in the Agent Control subprotocol. But it does not understand any message in
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 25

l22_april9 - Lecture 22 April 9, 2002 Subprotocols static...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online