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

⟦80ede6f4e⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Orb, seg_0549d5

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 String_Utilities;
package body Orb is
    procedure Start is  
        My_Receive_Frame : My_Message.T_Frame;
        My_Send_Frame : My_Message.T_Frame;  
        My_Status : Boolean;
        My_Appli_Number : Com_Defs.Com_Number;
        My_Quest_Number : Com_Defs.Com_Number;

        My_Adress_String_And_Apply_Number :
           All_String.Adress_String_And_Apply_Number;
        My_Adress_String : All_String.Adress_String;


        My_Type_Of_Message : Integer;
        My_Type_Of_Status : Integer;
        My_Integer : Integer := 3;

    begin

        Text_Io.Put_Line
           (String_Utilities.Number_To_String
               (Value => My_Integer, Base => 10, Width => 3, Leading => '0'));

        My_Message.Receive (My_Appli_Number, My_Quest_Number,
                            My_Receive_Frame, My_Status);

        My_Adress_String := My_Message.Read_Source_Adress (My_Receive_Frame);
        Text_Io.Put_Line ("Source_Adress is : " & My_Adress_String);

        My_Adress_String_And_Apply_Number :=
           My_Message.Read_Source_Adress_Internet_And_Apply_Number
              (My_Receive_Frame);
        Text_Io.Put_Line ("Source_Adress_Internet_And_Apply_Number is : " &
                          My_Adress_String_And_Apply_Number);

        My_Adress_String :=
           My_Message.Read_Destinataire_Adress (My_Receive_Frame);
        Text_Io.Put_Line ("Destinataire_Adress is : " & My_Adress_String);

        My_Adress_String_And_Apply_Number :=
           My_Message.Read_Destinataire_Adress_Internet_And_Apply_Number
              (My_Receive_Frame);
        Text_Io.Put_Line
           ("Destinataire_Adress_Internet_And_Apply_Number is : " &
            My_Adress_String_And_Apply_Number);

        My_Adress_String := My_Message.Read_Client_Adress (My_Receive_Frame);
        Text_Io.Put_Line ("Client_Adress is : " & My_Adress_String);

        My_Adress_String_And_Apply_Number :=
           My_Message.Read_Client_Adress_Internet_And_Apply_Number
              (My_Receive_Frame);
        Text_Io.Put_Line ("Client_Adress_Internet_And_Apply_Number is : " &
                          My_Adress_String_And_Apply_Number);

        My_Type_Of_Message :=
           My_Message.Read_Type_Of_Message (My_Receive_Frame);
        Text_Io.Put_Line ("Type_of_messsage is :" &
                          Integer'Image (My_Type_Of_Message) & " is " &
                          T_Message.T_Mess'Image (T_Message.T_Mess'Val
                                                     (My_Type_Of_Message)));

        My_Type_Of_Status := My_Message.Read_Type_Of_Status (My_Receive_Frame);
        Text_Io.Put_Line ("Type_of_status is :" &
                          Integer'Image (My_Type_Of_Status) & " is " &
                          T_Status.T_State'Image
                             (T_Status.T_State'Val (My_Type_Of_Status)));

        if My_Type_Of_Status = T_Status.T_State'Pos
                                  (T_Status.Client_To_Orb) then
            Text_Io.Put_Line ("Type de message reconnu");  
        else
            Text_Io.Put_Line ("Type de message non-reconnu");  
        end if;

    end Start;
end Orb;

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=1e rec1=00 rec2=01 rec3=060
        [0x01] rec0=17 rec1=00 rec2=02 rec3=00c
        [0x02] rec0=13 rec1=00 rec2=03 rec3=004
        [0x03] rec0=08 rec1=00 rec2=04 rec3=000
    tail 0x2175db22887b88851064d 0x42a00088462060003