|
|
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 Client_Date, seg_057d49
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Generic_Comm;
with Std_Types;
with Messages;
with Message_Storage;
with Text_Io;
use Std_Types;
procedure Client_Date 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
("==============Client cherchant la date====================");
Comm.Send (Registration,
Rem_Host => Ficus,
Rem_Socket => Orb_Socket,
Msg => "**** Message from client_date ***");
Source_Id := Comm.Get_Client_Id;
Comm.Send (Request,
Rem_Host => Ficus,
Rem_Socket => Orb_Socket,
Msg => "date",
Source => Source_Id);
My_Bal.Get_Message (Message);
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.Send (Unregistration,
Rem_Host => Ficus,
Rem_Socket => Orb_Socket,
Msg => "**** Message from client_date ***",
Source => Source_Id);
Comm.Dispose;
Text_Io.Put_Line ("=========== Fin d'activite Client_date ===============");
end Client_Date;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=25 rec1=00 rec2=01 rec3=014
[0x01] rec0=13 rec1=00 rec2=02 rec3=000
tail 0x2176519d087d245131a82 0x42a00088462060003