|
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 - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Date_Client, seg_052592
└─⟦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; with Message_Transport; with Parameter; with Signature; with Text_Io; use Text_Io; package body Date_Client is procedure Process_Message (M : Message.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; begin accept Go; B.Send_Message (Message => Message.Create (Class => Message.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), Status => Status); accept Ok; loop delay Duration'Last; end loop; end Tx; procedure Process_Message (M : Message.Object) is begin Put_Line (Message.Image (M)); end Process_Message; procedure Start is Status : Message_Transport.Status_Code; begin Tx.Ok; loop B.Send_Message (Message => Message.Create (Class => Message.Request, Addressee => Identifier.Hash (Identifier.Broker), Sender => Identifier.Hash (B.Get_Identity), Method => "date", Parameter_Name => "date", Parameter_Class => "string", Parameter_Value => Parameter.Void), Status => Status); delay 5.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;
nblk1=4 nid=2 hdr6=6 [0x00] rec0=26 rec1=00 rec2=01 rec3=034 [0x01] rec0=22 rec1=00 rec2=03 rec3=034 [0x02] rec0=17 rec1=00 rec2=04 rec3=000 [0x03] rec0=02 rec1=1b rec2=fa rec3=142 tail 0x2154baeae87a072f46004 0x42a00088462060003 Free Block Chain: 0x2: 0000 00 00 02 ef 80 40 20 20 20 20 20 20 20 20 20 20 ┆ @ ┆