Changeset 413 for PinConnection/UCommTCPServer.pas
- Timestamp:
- Aug 16, 2012, 12:59:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommTCPServer.pas
r407 r413 43 43 { TCommTCPServer } 44 44 45 TCommTCPServer = class 45 TCommTCPServer = class(TCommNode) 46 46 private 47 47 FActive: Boolean; … … 59 59 property OnConnect: TSocketConnectEvent read FOnConnect write FOnConnect; 60 60 property OnDisconnect: TSocketConnectEvent read FOnDisconnect write FOnDisconnect; 61 constructor Create ;61 constructor Create(AOwner: TComponent); override; 62 62 destructor Destroy; override; 63 63 end; … … 85 85 Pin := TCommPin.Create; 86 86 Pin.OnReceive := ReceiveData; 87 Pin.Node := Server; 87 88 end; 88 89 … … 187 188 end; 188 189 189 constructor TCommTCPServer.Create ;190 begin 191 inherited Create;190 constructor TCommTCPServer.Create(AOwner: TComponent); 191 begin 192 inherited; 192 193 Sessions := TListObject.Create; 193 194 Socket := TTCPBlockSocket.Create;
Note:
See TracChangeset
for help on using the changeset viewer.