|
|
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, package body Message_Send_Test_1, seg_04a26d
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Message;
with Message_Transport;
with Method;
with Parameter;
with Signature;
with Text_Io;
use Text_Io;
package body Message_Send_Test_1 is
procedure Start is
P1 : Parameter.Object;
P2 : Parameter.Object;
S : Signature.Object;
M : Method.Object;
Mes : Message.Object;
Status : Message_Transport.Status_Code;
begin
P1 := Parameter.Create
(Name => "message", Class => "string", Value => "hello world");
P2 := Parameter.Create (Name => "message",
Class => Parameter.Void,
Value => Parameter.Void);
S := Signature.Create;
Signature.Add (To_Signature => S,
The_Parameter => P1,
At_Position => 1);
Signature.Add (To_Signature => S,
The_Parameter => P2,
At_Position => 2);
M := Method.Create (Name => "Send", Signature => S);
Mes := Message.Create (Class => Message.Request,
Addressee => 0,
Sender => 123,
Method => M);
Put_Line (Message.Image (Mes));
Put_Line (Message.Image (Message.Value (Message.Image (Mes))));
Message_Transport.Put (Message => Message.Image (Mes),
Remote_Host => "belladone",
Remote_Socket => 2605,
Number_Of_Retry => 1,
Retry_Delay => 0.1,
Status => Status);
Put_Line (Message_Transport.Status_Code'Image (Status));
end Start;
end Message_Send_Test_1;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=22 rec1=00 rec2=01 rec3=000
[0x01] rec0=17 rec1=00 rec2=02 rec3=001
tail 0x2174e9822866e6ba8a120 0x42a00088462060003