L
linuxping
Unregistered / Unconfirmed
GUEST, unregistred user!
indy中的TIdIOHandler类在IdIOHandler.pas单元中,
但IdIOHandler确是一个空类(应为函数都是空的,相当于是虚函数吧),
但是, TIdTCPConnection等类却使用了TIdIOHandler类:
TIdTCPConnection = class(TIdComponent)
protected
FASCIIFilter: boolean;
// TODO - Change the "move" functions to read write functinos. Get as much as possible down
// to just TStream so we can replace it easily
FClosedGracefully: Boolean;
FGreeting: TIdRFCReply;
FFreeIOHandlerOnDisconnect: Boolean;
FInputBuffer: TIdManagedBuffer;
FIntercept: TIdConnectionIntercept;
FIOHandler: TIdIOHandler; <--------------------
.......
那么,TIdIOHandler在哪里被覆盖了呢?
但IdIOHandler确是一个空类(应为函数都是空的,相当于是虚函数吧),
但是, TIdTCPConnection等类却使用了TIdIOHandler类:
TIdTCPConnection = class(TIdComponent)
protected
FASCIIFilter: boolean;
// TODO - Change the "move" functions to read write functinos. Get as much as possible down
// to just TStream so we can replace it easily
FClosedGracefully: Boolean;
FGreeting: TIdRFCReply;
FFreeIOHandlerOnDisconnect: Boolean;
FInputBuffer: TIdManagedBuffer;
FIntercept: TIdConnectionIntercept;
FIOHandler: TIdIOHandler; <--------------------
.......
那么,TIdIOHandler在哪里被覆盖了呢?