|
|
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: 7168 (0x1c00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Date_Client_Old, seg_04b5c2
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Behavior;
with Identifier;
with Method;
with Message_New;
with Message_Transport;
with Parameter;
with Signature;
with Text_Io;
use Text_Io;
package body Date_Client_Old is
procedure Process_Message (M : Message_New.Object);
task Tx is
entry Go;
entry Ok;
end Tx;
package B is new Behavior (Tx.Go, Process_Message);
task body Tx is
Status : Message_Transport.Status_Code;
Request_Nul : Natural := 0;
begin
accept Go;
Text_Io.Put_Line ("Date_client accept GO");
B.Send_Message (Message =>
Message_New.Create
(Class => Message_New.Request,
Addressee => Identifier.Hash
(Id => Identifier.Broker),
Sender => Identifier.Hash (Id => B.Get_Identity),
Method => "date",
Parameter_Name => "date",
Parameter_Class => "string",
Parameter_Value => Parameter.Void,
Request => Request_Nul),
Status => Status);
accept Ok;
Text_Io.Put_Line ("Date_client accept OK");
loop
delay Duration'Last;
end loop;
end Tx;
procedure Process_Message (M : Message_New.Object) is
begin
Put_Line (Message_New.Image (M));
end Process_Message;
procedure Start is
Status : Message_Transport.Status_Code;
Request_Nul : Natural := 0;
begin
Text_Io.Put_Line ("Debut date_client start");
Tx.Ok;
Text_Io.Put_Line ("Tx.OK");
loop
B.Send_Message (Message =>
Message_New.Create
(Class => Message_New.Request,
Addressee => Identifier.Hash
(Identifier.Broker),
Sender => Identifier.Hash (B.Get_Identity),
Method => "date",
Parameter_Name => "date",
Parameter_Class => "string",
Parameter_Value => Parameter.Void,
Request => Request_Nul),
Status => Status);
delay 1.0;
end loop;
-- B.Send_Message (Message =>
-- Message.Create (Class => Message.Unregistration,
-- Addressee => Identifier.Hash
-- (Identifier.Broker),
-- Sender => Identifier.Hash
-- (B.Get_Identity),
-- Method => "shutdown",
-- Parameter_Name => "when",
-- Parameter_Class => "string",
-- Parameter_Value => "now"),
-- Status => Status);
--
--
end Start;
end Date_Client_Old;
nblk1=6
nid=0
hdr6=c
[0x00] rec0=25 rec1=00 rec2=01 rec3=048
[0x01] rec0=00 rec1=00 rec2=05 rec3=008
[0x02] rec0=22 rec1=00 rec2=06 rec3=054
[0x03] rec0=03 rec1=00 rec2=04 rec3=048
[0x04] rec0=13 rec1=00 rec2=02 rec3=05a
[0x05] rec0=09 rec1=00 rec2=03 rec3=000
tail 0x2154862d8868151c1c9c3 0x42a00088462060003