|
|
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: 2467 (0x9a3)
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 Log 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
begin
Put_Line (Message.Image (M));
end Request;
task body Tx is
Status : Message_Transport.Status_Code;
begin
accept Start;
accept Go;
declare
begin
Message_Transport.Put
(Message => Message.Image
(Message.Create
(Class => Message.Publication,
Addressee => Identifier.Hash
(Identifier.Broker),
Sender => Identifier.Hash (B.Get_Identity),
Method => "put_line",
Parameter1_Name => "display",
Parameter1_Class => "string",
Parameter1_Value => "grenouille:0",
Parameter2_Name => "message",
Parameter2_Class => "string",
Parameter2_Value => Parameter.Void,
Parameter3_Name => "severity",
Parameter3_Class => "string",
Parameter3_Value => Parameter.Void)),
Remote_Host => "belladone",
Remote_Socket => 2605,
Number_Of_Retry => 10,
Retry_Delay => 0.1,
Status => Status);
exception
when others =>
Put_Line ("log a foire");
end;
loop
delay Duration'Last;
end loop;
end Tx;
procedure Process_Message (M : Message.Object) is
use Message;
begin
case Message.Get_Class (M) is
when Message.Request =>
Request (M);
when others =>
Put_Line ("process_message: others => " & Message.Image (M));
end case;
end Process_Message;
procedure Start is
begin
Tx.Start;
end Start;
end Log;