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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,913ffb3586d7a026 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!d1g2000yqm.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: What is the best method for transmitting objects/tagged records? Date: Wed, 8 Jun 2011 16:16:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <47671647-1941-4bf2-ab34-578b4a853095@k16g2000yqm.googlegroups.com> NNTP-Posting-Host: 24.230.151.194 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1307574994 27938 127.0.0.1 (8 Jun 2011 23:16:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 8 Jun 2011 23:16:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d1g2000yqm.googlegroups.com; posting-host=24.230.151.194; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19707 Date: 2011-06-08T16:16:33-07:00 List-Id: On Jun 7, 1:06=A0pm, tmo...@acm.org wrote: > >> marshalling/unmarshalling part of a Partition Communication Subsystem? > > >I think that's what it amounts to, yes. > > =A0 Sending an object over a comm link differs from writing to/reading fr= om > disk only in timing. Which is exactly why using tags and streams is a good idea. The main problem is that the package that defines the tag-type is not WITH-able by packages that are Remote_Types / Remote_Interfaces. So, even a function that has a parameter-footprint of "Procedure ( Tag : In Out Ada.Tags.Tag )" is invalid (WITH-ing Ada.Streams is fine because it is a Pure package.)