From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ac1d8bc704e79f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-07 06:55:49 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: petter.fryklund.konsult@dynamics.saab.se (Petter Fryklund) Newsgroups: comp.lang.ada Subject: Re: Dispatching problem. Date: 7 Feb 2003 06:55:49 -0800 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 138.14.239.132 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1044629749 20418 127.0.0.1 (7 Feb 2003 14:55:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 7 Feb 2003 14:55:49 GMT Xref: archiver1.google.com comp.lang.ada:33880 Date: 2003-02-07T14:55:49+00:00 List-Id: Another way to explain our problem: a message (of which there are several variants) is received from another system in unit P. It is forwarded to unit B which decodes to message using procedures in package A. Package A can also be used for coding of outbound messages and for producing trace of messages contents, both inbound and outbound. We would like to dispatch both coding and tracing in A and subsequent usage of the decoded message in B. Perhaps inbound messages and outbound should be treated differently? In the original post there is a 1-to-1 relationship between ie B.B1 and A.M1. They have the same contents, apart from the tag. So, how do make an A.M1 a B.B1 (or really an A.Msg a B.Msg?)so that we can dispatch in code written in package B? (Dispatching in B ;-)