DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦77730f251⟧ TextFile

    Length: 1467 (0x5bb)
    Types: TextFile
    Names: »B«

Derivation

└─⟦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⟧ 

TextFile

with Time_Utilities;

separate (Date)
procedure Request (M : Message.Object) is

    Time : constant String := Time_Utilities.Image
                                 (Date => Time_Utilities.Get_Time,
                                  Date_Style => Time_Utilities.Expanded,
                                  Time_Style => Time_Utilities.Expanded,
                                  Contents => Time_Utilities.Both);

    Status : Message_Transport.Status_Code;

    use Message_Transport;
begin

    if Method.Get_Name (Message.Get_Method (M)) = "DATE" then
        New_Line;
        Put_Line ("+++ satisfying request for date");
        B.Send_Message (Message =>
                           Message.Create (Class => Message.Forward,
                                           Addressee => Message.Get_Sender (M),
                                           Sender => Identifier.Hash
                                                        (B.Get_Identity),
                                           Method => "date",
                                           Parameter_Name => "date",
                                           Parameter_Class => "string",
                                           Parameter_Value => Time),
                        Status => Status);
        if Status = Ok then
            Put_Line ("--- asking broker to forward");
        else
            Put_Line ("*** failed asking broker to forward");
        end if;
    end if;
end Request;