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

⟦031f48366⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, function Subscribe_Service, seg_05741e, separate Service_Toolbox

Derivation

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

E3 Source Code



separate (Service_Toolbox)

function Subscribe_Service
            (The_Subscribe_Data : in Orb_Defs.Message;
             Agent_Reference : in Service_Manager_Defs.Number_Of_Agent)
            return Boolean is  
    Number_Of_Class, Number_Of_Function : Integer;
    Class_Iterator, Function_Iterator : Integer;  
    Current_Char : Positive := 1;  
    Current_Class : Orb_Defs.Class;
    Current_Function : Orb_Defs.Funct;
    Error : Boolean := True;
begin  
    Number_Of_Class := Integer'Value (The_Subscribe_Data (1 .. 2));
    Current_Char := 3;
    for Class_Iterator in 1 .. Number_Of_Class loop  
        Current_Class := The_Subscribe_Data (Current_Char .. Current_Char + 3);
        Current_Char := Current_Char + 4;
        Number_Of_Function :=
           Integer'Value (The_Subscribe_Data
                             (Current_Char .. Current_Char + 1));
        Current_Char := Current_Char + 2;

        for Function_Iterator in 1 .. Number_Of_Function loop
            Current_Function := The_Subscribe_Data
                                   (Current_Char .. Current_Char + 3);
            Error := Error and Add_Service (Service_Class => Current_Class,
                                            Service_Fct => Current_Function,
                                            Agent_Reference => Agent_Reference);
            Current_Char := Current_Char + 4;
        end loop;

    end loop;

    return Error;
end Subscribe_Service;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=4
        [0x00] rec0=19 rec1=00 rec2=01 rec3=06a
        [0x01] rec0=0e rec1=00 rec2=04 rec3=000
        [0x02] rec0=0a rec1=00 rec2=02 rec3=000
        [0x03] rec0=04 rec1=c6 rec2=9a rec3=442
    tail 0x2154dfe8a87c76e49888e 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 03 03 fc 80 3e 20 20 20 20 20 20 20 20 20 20  ┆     >          ┆
  0x3: 0000  00 00 00 cc 80 3c 20 20 20 20 20 20 20 20 20 20  ┆     <          ┆