|
|
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 Message, seg_00fea4
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Client;
with Message_Types;
with System;
package Message is
-- abstraction for a ip network message.
type Packet is private;
subtype Message_Type is Message_Types.Message_Type;
procedure Initialize (Buffer : in out Packet; Source : Client.Id);
procedure Copy (Source : Packet; Destination : in out Packet);
-- both must exist
procedure Set_Destination (Buffer : in out Packet; Destination : Client.Id);
-- Set the destination address in the message packet. Buffer must be
-- non-null else the exception Constraint_Error will be raised.
procedure Set_Class (Buffer : in out Packet; Class : Message_Type);
procedure Set_Body (Buffer : in out Packet; Packet_Body : String);
function Binary_Image (Buffer : Packet) return System.Byte_String;
function Recover_Packet (Buffer : System.Byte_String) return Packet;
function Packet_Body (Buffer : Packet) return String;
function Class (Buffer : Packet) return Message_Type;
function Source (Buffer : Packet) return Client.Id;
function Destination (Buffer : Packet) return Client.Id;
private
type Packet_Block;
type Packet is access Packet_Block;
end Message;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1c rec1=00 rec2=01 rec3=03e
[0x01] rec0=09 rec1=00 rec2=02 rec3=000
tail 0x2170c1d22822f63ccb228 0x42a00088462060003