Ignore:
Timestamp:
Aug 14, 2012, 10:31:30 AM (12 years ago)
Author:
chronos
Message:
  • Modified: PinConnection package now use for data parameters TListByte instead of TStream class contained in TemplateGenerics package. TStream have Position property which has no meaning for forwarding plain byte memory block. There is TBinarySerializer class used for serializing data instead of TStreamHelper class.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • PinConnection/UCommHub.pas

    r289 r407  
    66
    77uses
    8   Classes, SysUtils, Contnrs, UCommPin;
     8  Classes, SysUtils, Contnrs, UCommPin, SpecializedList;
    99
    1010type
     
    2727    FActive: Boolean;
    2828    FPins: TPinList;
    29     procedure Receive(Sender: TCommPin; Stream: TStream);
     29    procedure Receive(Sender: TCommPin; Stream: TListByte);
    3030    procedure SetStatus(Sender: TCommPin; Status: Integer);
    3131  public
     
    6868{ TCommHub }
    6969
    70 procedure TCommHub.Receive(Sender: TCommPin; Stream: TStream);
     70procedure TCommHub.Receive(Sender: TCommPin; Stream: TListByte);
    7171var
    7272  I: Integer;
Note: See TracChangeset for help on using the changeset viewer.