|
|
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 - metrics - download
Length: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Register_Service, seg_0525c1, separate Behavior_Test_1
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
separate (Behavior_Test_1)
procedure Register_Service (Host : String;
Socket : Message_Transport.Socket;
Stream : out Message_Transport.Stream_Id) is
Status : Message_Transport.Status_Code;
Stream_Reg : Message_Transport.Stream_Id;
Request_Nul : Natural := 0;
use Message_Transport;
begin
Text_Io.Put_Line ("avant Message_Transport.Create du stream");
Message_Transport.Create
(Remote_Host => Identifier.Get_Host (Identifier.Broker),
Remote_Socket => Identifier.Get_Socket (Identifier.Broker),
Number_Of_Retry => 10,
Retry_Delay => 0.1,
Stream => Stream_Reg,
Status => Status);
Text_Io.Put_Line ("apres Message_Transport.Create du stream et ");
Text_Io.Put_Line ("envoi registration");
Message_Transport.Put
(Stream => Stream_Reg,
Message => Standard.Message_New.Image
(Message_New.Create
(Class => Message_New.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),
Request => Request_Nul)),
Status => Status);
Text_Io.Put_Line ("registration terminee");
if Status /= Message_Transport.Ok then
raise Not_Registered_Error;
end if;
end Register_Service;
nblk1=4
nid=3
hdr6=4
[0x00] rec0=1a rec1=00 rec2=01 rec3=04e
[0x01] rec0=17 rec1=00 rec2=04 rec3=000
[0x02] rec0=15 rec1=00 rec2=03 rec3=046
[0x03] rec0=05 rec1=00 rec2=02 rec3=000
tail 0x2154baf6a87a073261a77 0x42a00088462060003
Free Block Chain:
0x3: 0000 00 02 00 03 00 00 00 20 72 61 69 73 65 20 4e 6f ┆ raise No┆
0x2: 0000 00 00 00 2f 00 0b 20 20 20 20 65 6e 64 20 69 66 ┆ / end if┆