|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Server_Date, seg_055e65
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Agent_Tools;
with Bounded_String;
with Generic_My_Agent;
with My_Message;
with Server_Utilities;
with Text_Io;
procedure Test_Server_Date is
Job : My_Message.My_String;
Saisie : String (1 .. 3);
package My_Agent is new Generic_My_Agent
(Service_Server => Server_Utilities.Get_Date);
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, "DATE");
Agent_Tools.Publication (Job); -- Publication du service Date
Bounded_String.Copy (Job, "HOUR");
Agent_Tools.Subscription (Job); -- Abonnement au service Heure
delay (20.0);
Agent_Tools.Query; -- Query
delay (60.0);
Text_Io.Put_Line ("TEST FINISHED, I'm waiting for request now.");
end Test_Server_Date;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=25 rec1=00 rec2=01 rec3=01a
[0x01] rec0=07 rec1=00 rec2=02 rec3=001
tail 0x2176152fc87c08ee73f15 0x42a00088462060003