DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦def7c05e7⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Message_Test, seg_052268

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Message;
with Method;
with Parameter;
with Signature;
with Text_Io;

use Text_Io;
package body Message_Test is
    procedure Start is
        P1 : Parameter.Object;
        P2 : Parameter.Object;
        S : Signature.Object;
        M : Method.Object;

        Mes : Message.Object;
    begin
        Parameter.Create (P1,
                          Name => "message",
                          Class => "string",
                          Value => "hello world");
        Parameter.Create (P2,
                          Name => "message",
                          Class => Parameter.Void,
                          Value => Parameter.Void);

        Signature.Create (S);  
        Signature.Add (To_Signature => S,
                       The_Parameter => P1,
                       At_Position => 1);
        Signature.Add (To_Signature => S,
                       The_Parameter => P2,
                       At_Position => 2);

        Method.Create (M, Name => "Send", Signature => S);

        Message.Create (Mes,
                        Class => Message.Request,
                        Addressee => 0,
                        Sender => 123,
                        Method => M);

        Put_Line (Message.Image (Mes));

        Put_Line (Message.Image (Message.Value (Message.Image (Mes))));
    end Start;
end Message_Test;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=23 rec1=00 rec2=01 rec3=014
        [0x01] rec0=0d rec1=00 rec2=02 rec3=001
    tail 0x21759a3da87a0632e29de 0x42a00088462060003