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

⟦01dd9fa17⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Observateur, seg_057bef

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 Generic_Comm;
with Std_Types;
with Messages;
with Message_Storage;
with Text_Io;
use Std_Types;

procedure Observateur is  
    Done : Boolean := False;
    Message : Messages.Obj_Msg;
    My_Bal : Message_Storage.Bal;
    Connection_Delay : Duration := 10.0;  
    Try_Number : Positive := 1;
    package Comm is new Generic_Comm (Connection_Delay, Try_Number, My_Bal);
    Source_Id : Natural;
begin
    Text_Io.Put_Line ("============== Observateur ====================");

    Comm.Send (Registration,
               Rem_Host => Ficus,
               Rem_Socket => Orb_Socket,
               Msg => "**** Message from observator  ***");

    Source_Id := Comm.Get_Client_Id;

    Comm.Send (Subscription,
               Rem_Host => Ficus,
               Rem_Socket => Orb_Socket,
               Source => Source_Id);

    My_Bal.Get_Message (Message);

    loop
        My_Bal.Is_Empty (Done);
        while Done loop
            My_Bal.Is_Empty (Done);
        end loop;
        My_Bal.Get_Message (Message);
        if Messages.Get_Type_Msg (Message) = Forward then
            Text_Io.Put_Line (String_Var_To_String
                                 (Messages.Get_Content (Message)));
        end if;
        --Comm.Dispose;   -- destruction tache client
        --Text_Io.Put_Line
        --   ("============== Fin d'activite Client_heure =================");
    end loop;
end Observateur;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=25 rec1=00 rec2=01 rec3=022
        [0x01] rec0=0d rec1=00 rec2=02 rec3=000
    tail 0x21764f4ca87d15d3dcc79 0x42a00088462060003