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

⟦a691a3c8a⟧ Ada Source

    Length: 8192 (0x2000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Orb_Messages, seg_056b64

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 T_Status, T_Message, All_String, Com_Defs, Constant_Start_End;

generic
package Orb_Messages is

    type T_Frame is limited private;

    function Value (S : String) return Com_Defs.V_String;
    function Image (S : T_Frame) return String;  
    procedure Copy (Target : in out T_Frame; Source : T_Frame);

    procedure Init_T_Frame (My_Frame : in out T_Frame);

    function Read_Source_Adress_Internet_And_Apply_Number
                (My_Frame : T_Frame) return All_String.
                                            Adress_String_And_Apply_Number;
    function Read_Source_Adress (My_Frame : T_Frame)
                                return All_String.Adress_String;

    function Read_Source_Apply_Number
                (My_Frame : T_Frame) return All_String.String4;

    function Read_Destinataire_Adress_Internet_And_Apply_Number
                (My_Frame : T_Frame) return All_String.
                                            Adress_String_And_Apply_Number;
    function Read_Destinataire_Adress
                (My_Frame : T_Frame) return All_String.Adress_String;

    function Read_Client_Adress_Internet_And_Apply_Number
                (My_Frame : T_Frame) return All_String.
                                            Adress_String_And_Apply_Number;
    function Read_Client_Adress (My_Frame : T_Frame)
                                return All_String.Adress_String;

    function Read_Apply_Number (S : All_String.Adress_String_And_Apply_Number)
                               return Com_Defs.Com_Number;

    function Read_Type_Of_Message (My_Frame : T_Frame) return Integer;
    function Read_Type_Of_Status (My_Frame : T_Frame) return Integer;

    procedure Init_Send_Frame (Target_Frame : in out T_Frame;
                               Source_Frame : in T_Frame);

    procedure Init_Type_Of_Status
                 (My_Status : T_Status.T_State; My_Frame : in out T_Frame);

    procedure Init_Type_Of_Message
                 (My_Message : T_Message.T_Mess; My_Frame : in out T_Frame);  
    procedure Exchange_Source_Destination (My_Frame : in out T_Frame);

    procedure Remove_Data (My_Frame : in out T_Frame);

    procedure Init_Data_Message (My_Data_Message : in Com_Defs.V_String;
                                 My_Frame : in out T_Frame);

    procedure Init_Source (My_Adress : in
                              All_String.Adress_String_And_Apply_Number;
                           My_Frame : in out T_Frame);

    procedure Init_Destinataire
                 (My_Adress : in All_String.Adress_String_And_Apply_Number;
                  My_Frame : in out T_Frame);

    procedure Put_Frame (My_Frame : T_Frame);

    procedure Init (My_Appli_Number : out Com_Defs.Com_Number;
                    My_Machine_Name : out Com_Defs.V_String;
                    My_Adress_Ip : in out Com_Defs.V_String;
                    Status : out Boolean);
    procedure Remove (My_Appli_Number : in Com_Defs.Com_Number);
    procedure Send (My_Appli_Number : Com_Defs.Com_Number;  
                    My_Host_Name : Com_Defs.V_String;
                    My_Frame : in out T_Frame;  
                    My_Status : in out Boolean);

    procedure Receive (My_Appli_Number : in Com_Defs.Com_Number;  
                       My_Frame : in out T_Frame;
                       Status : out Boolean);

    procedure Reinsert (My_Appli_Number : in Com_Defs.Com_Number;
                        My_Frame : in T_Frame);

    type Data_Iterator is limited private;

    procedure Init_Data (Iter : in out Data_Iterator; My_Frame : T_Frame);  
    function Done_Data (Iter : Data_Iterator) return Boolean;
    procedure Next_Data (Iter : in out Data_Iterator);
    function Value_Data (Iter : Data_Iterator) return Com_Defs.V_String;

    procedure Extract_The_Contract
                 (My_Frame : T_Frame;
                  My_Iter : in out Data_Iterator;
                  Class_Name : in out Com_Defs.V_String;
                  Object_Name : in out Com_Defs.V_String;
                  Method_Name : in out Com_Defs.V_String;
                  Number_Of_Parameter : in out Com_Defs.V_String;
                  Parameters : in out Com_Defs.V_String);

private

    -- Frame_Length : constant Natural := 255;
    -- type Frame is new Bounded_String.Variable_String (Frame_Length);
    type T_Frame is
        record
            Frame : Com_Defs.V_String;
        end record;  
    type Data_Iterator is
        record  
            Data : Com_Defs.V_String;  
            Return_Tampon : Com_Defs.V_String;
            Index : Positive := Constant_Start_End.New_Start_Data;
        end record;
end Orb_Messages;


E3 Meta Data

    nblk1=7
    nid=7
    hdr6=c
        [0x00] rec0=1a rec1=00 rec2=01 rec3=080
        [0x01] rec0=16 rec1=00 rec2=06 rec3=03a
        [0x02] rec0=17 rec1=00 rec2=02 rec3=02c
        [0x03] rec0=02 rec1=00 rec2=03 rec3=04e
        [0x04] rec0=17 rec1=00 rec2=04 rec3=038
        [0x05] rec0=14 rec1=00 rec2=05 rec3=000
        [0x06] rec0=0b rec1=00 rec2=05 rec3=000
    tail 0x2176322cc87c544eadf83 0x42a00088462060003
Free Block Chain:
  0x7: 0000  00 00 00 06 80 03 44 65 66 03 73 2e 76 5f 73 74  ┆      Def s.v_st┆