DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦be0bbf72e⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Register_Service, seg_02c300, separate Behavior

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



separate (Behavior)
procedure Register_Service (Host : String; Socket : Message_Transport.Socket) is

    Status : Message_Transport.Status_Code;

    use Message_Transport;
begin

    Message_Transport.Put
       (Message => Standard.Message.Image
                      (Message.Create
                          (Class => Message.Registration,
                           Addressee => Identifier.Hash (Identifier.Broker),
                           Sender => Identifier.Hash (Identifier.Nil),
                           Method => "registration",
                           Parameter1_Name => "host",
                           Parameter1_Class => "string",
                           Parameter1_Value => Host,
                           Parameter2_Name => "socket",
                           Parameter2_Class => "string",
                           Parameter2_Value =>
                              Message_Transport.Socket'Image (Socket))),

        Remote_Host => Identifier.Get_Host (Identifier.Broker),
        Remote_Socket => Identifier.Get_Socket (Identifier.Broker),
        Number_Of_Retry => 10,
        Retry_Delay => 0.1,
        Status => Status);

    if Status /= Message_Transport.Ok then
        raise Not_Registered_Error;
    end if;

end Register_Service;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=19 rec1=00 rec2=01 rec3=030
        [0x01] rec0=0c rec1=00 rec2=02 rec3=001
    tail 0x21524614c83f84adce84a 0x42a00088462060003