Browse Prior Art Database

Tree Structurized Message programing and its tools

IP.com Disclosure Number: IPCOM000016280D
Original Publication Date: 2002-Oct-10
Included in the Prior Art Database: 2003-Jun-21
Document File: 3 page(s) / 197K

Publishing Venue

IBM

Abstract

Disclosed is a method for programing tools of Message Editor Message handler generator. The following is a feature of the tools. Each message data is maped to tree structure, in the tools. It has relationship of inheritance, like as OO. Message handler is a function/method. It does not have relationship of inheritance. The tools maps the message and message handler by dispatcher code which generated by tools.. If the message handler exists, the dispacher will call the handler when message is delivered. If the message handler does NOT exist, the dispacher will call the parent handler. Structurized Message

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 64% of the total text.

Page 1 of 3

Tree Structurized Message programing and its tools

Disclosed is a method for programing tools of Message Editor / Message handler generator. The following is a feature of the tools.

- Each message data is maped to tree structure, in the tools. It has relationship of inheritance, like as OO. - Message handler is a function/method. It does not have relationship of inheritance. - The tools maps the message and message handler by dispatcher code which generated by tools..

- If the message handler exists, the dispacher will call the handler when message is delivered. - If the message handler does NOT exist, the dispacher will call the parent handler.

Structurized Message

Structurized Message Handler

Message Mapping

MsgA

MsgAA

MsgAAA

MsgAAB

MsgAAC

MsgAB

MsgABA

OnMsgA OnMsgAA

OnMsgAB

OnMsgAAA OnMsgAAB OnMsgAAC OnMsgABA

Handler exists Handler does NOT exists

Fig-1

- In the tools, each message has order of calling handler. Types of order are "After", "Before" and

"Alone". - "After" : Message handler will call AFTER parent message handler is called. - "Before" : Message handler will call BEFORE parent message handler is called. - "Alone" : Parent message handler is NOT called. (like as method override)

1

[This page contains 7 pictures or other non-text objects]

Page 2 of 3

dispatch

Case-1 : Call Type "Before"

MsgAAA

2

3

Dispatcher 1

 OnMsgA OnMsgAA OnMsgAAA

OnMsgAAA

OnMsgAA

OnMsgA

OnMsgAAA

Case-2 : Call Type "After"

MsgAAA

Dispatcher 1

2

3

Case-3 : Call Type "Alone"

MsgAAA

...