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

⟦7115cc0a5⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Communications, seg_023f3c

Derivation

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

E3 Source Code



with Mac_Types;
with Tcp;
package Communications is

    type Connection is private;
    type Bytearray is array (Natural range <>) of Mac_Types.Byte;

    procedure Initialize;
    procedure Wait_For_Connection (A_Connection : out Connection);
    procedure Close_Connection (A_Connection : in out Connection);

    procedure Write (A_Connection : in out Connection; Data : in Bytearray);
    procedure Read (A_Connection : in out Connection; Data : out Bytearray);

    Open_Tcp_Driver_Failed : exception;
    Connection_Doesnt_Exist : exception;
    Memory_Full : exception;

private

    type Connection is
        record
            Stream : Tcp.Stream_Ptr;
            Stream_Created : Boolean := False;
            Connection_Opened : Boolean := False;
            Remote_Host : Tcp.Ip_Addr;
            Remote_Port : Tcp.Tcp_Port;
            Local_Host : Tcp.Ip_Addr;
            Local_Port : Tcp.Tcp_Port;
        end record;

end Communications;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=21 rec1=00 rec2=01 rec3=01e
        [0x01] rec0=01 rec1=00 rec2=02 rec3=000
    tail 0x2171f392e839b6f380af0 0x42a00088462060003