z-logo
Premium
Message Filters for Object‐oriented Systems
Author(s) -
JOSHI RUSHIKESH K.,
Vivekananda N.,
Ram D. Janaki
Publication year - 1997
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/(sici)1097-024x(199706)27:6<677::aid-spe103>3.0.co;2-i
Subject(s) - computer science , object (grammar) , filter (signal processing) , message passing , message broker , method , code (set theory) , distributed computing , computer network , artificial intelligence , object oriented programming , programming language , computer vision , set (abstract data type)
In the conventional object model, encapsulated objects interact by messages that result in method invocations on the destination object. A message is delivered directly at the destination object. As a result of the direct deliveries, the message control code performing intermediate message manipulations cannot be abstracted out separately from the message processing code in the destination object without sacrificing the transparency of the intermediate message control. We propose the filtered delivery model of message passing for object‐oriented languages to provide the separation of message control from message processing in a transparent manner. An interclass relationship, called a filter relationship , is introduced. As a consequence, a filter object can intercept and manipulate messages sent to another object called its client via filter member functions. A filter member function in a filter object can intercept a particular member function invocation on its client object. The filtered delivery model supports both upward and downward filtering mechanisms, facilitating interception of an upward message and its return message value. Filter objects can be plugged or unplugged at runtime. Binding of filter member functions to corresponding member functions in the client is selective and dynamic. The filtered delivery model is developed for the C++ object‐oriented language; its applications are described and implementation is discussed. © 1997 John Wiley & Sons, Ltd.

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here