|
|
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: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Mess_Test, seg_053aa3
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with My_Message;
with Transport_Defs;
with Bounded_String;
with Text_Io;
with Utils;
with Byte_Defs;
procedure Mess_Test is
Element : My_Message.Object;
Op_Temp : My_Message.Kind_Of_Message;
Local_Socket : constant Transport_Defs.Socket_Id := (2, 6, 1, 1);
Comment : My_Message.My_String;
Msg_Null : My_Message.My_String;
Number : Positive := 1;
Last : Positive;
Buffer : My_Message.My_String;
begin
Text_Io.Put_Line (Integer'Image
(Utils.Byte_String_To_Integer
(Byte_Defs.Byte_String (Local_Socket))));
Bounded_String.Copy (Comment, "Test du package my_message");
Bounded_String.Copy (Msg_Null, "None");
My_Message.Kind_Of_Mess_Io.Get ("registration", Op_Temp, Last);
Text_Io.Put_Line ("Debut de test");
Text_Io.Put_Line ("Debut de la fonction d'initialisation");
Element := My_Message.Initialize (Op => Op_Temp,
L_S => Local_Socket,
-- R_S => Local_Socket,
R_H => Msg_Null,
-- Jo => Number,
Com => Comment);
Text_Io.Put_Line ("Fin de la procedure d'init");
Text_Io.Put_Line ("Debut de la fonction de codage");
Buffer := My_Message.Record_To_String (Element);
Text_Io.Put_Line ("Fin de la fonction de codage");
Text_Io.Put_Line ("Gueule de la trame: " & Bounded_String.Image (Buffer));
Text_Io.Put_Line ("Debut de la fonction de decodage");
Element := My_Message.String_To_Record (Buffer);
Text_Io.Put_Line ("Fin de la fonction de decodage");
end Mess_Test;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1d rec1=00 rec2=01 rec3=028
[0x01] rec0=0f rec1=00 rec2=02 rec3=001
tail 0x2175b1bc887aa6f73fc6e 0x42a00088462060003