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

⟦300817f00⟧ Ada Source

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

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 Agent_Tools;  
with Bounded_String;  
with Generic_My_Agent;
with My_Message;
with Server_Utilities;
with Text_Io;


procedure Test_Server_Hour is  
    Job : My_Message.My_String;
    Saisie : String (1 .. 3);
    package My_Agent is new Generic_My_Agent
                               (Service_Server => Server_Utilities.Get_Hour);
begin

-- Enregistrement aupres de l'ORB

    Agent_Tools.Registration;
    Text_Io.Put_Line ("Local_id apres registration: " &
                      Bounded_String.Image (Agent_Tools.Get_Local_Id));

-- Demarrage de la tache de reception

    My_Agent.Start_Agent (Agent_Socket => Agent_Tools.Get_Local_Id);

-- Utilisation de l'ORB

    Bounded_String.Copy (Job, "HOUR");
    Agent_Tools.Publication (Job);            -- Publication du service Heure

    delay (20.0);

    Agent_Tools.Query;                        -- Query

    Bounded_String.Copy (Job, "DATE");
    Agent_Tools.Request (Job);                -- Requete au service Date

    Bounded_String.Copy (Job, "OTHERS");
    Agent_Tools.Request (Job);                -- Requete inexistante

    Text_Io.Put_Line ("TEST FINISHED, I'm waiting for request now.");

end Test_Server_Hour;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=25 rec1=00 rec2=01 rec3=04c
        [0x01] rec0=08 rec1=00 rec2=02 rec3=001
    tail 0x21761534887c08f358aa0 0x42a00088462060003