|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 2297 (0x8f9)
Types: TextFile
Names: »B«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
└─⟦124ff5788⟧ »DATA«
└─⟦this⟧
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
└─⟦6f12a12be⟧ »DATA«
└─⟦this⟧
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »DATA«
└─⟦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 is
procedure Process_Message (M : Message.Object);
task Tx is
entry Start;
entry Go;
end Tx;
package B is new Behavior (Tx.Go, Process_Message);
procedure Request (M : Message.Object) is separate;
procedure Notification (M : Message.Object) is separate;
task body Tx is
Status : Message_Transport.Status_Code;
begin
accept Start;
accept Go; -- we have been registered, and can publish
declare
begin
Message_Transport.Put
(Message =>
Message.Image
(Message =>
Message.Create
(Class => Message.Publication,
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)),
Remote_Host => Identifier.Get_Host (Id => Identifier.Broker),
Remote_Socket =>
Identifier.Get_Socket (Id => Identifier.Broker),
Number_Of_Retry => 10,
Retry_Delay => 0.1,
Status => Status);
exception
when others =>
Put_Line ("ca a foire");
end;
loop
delay Duration'Last;
end loop;
end Tx;
procedure Process_Message (M : Message.Object) is
use Message;
begin
Put_Line ("--- processing message => " & Message.Image (M));
case Message.Get_Class (M) is
when Message.Request =>
Request (M);
when Message.Notification =>
Notification (M);
when others =>
null;
end case;
end Process_Message;
procedure Start is
begin
Tx.Start;
end Start;
end Date;