Unit 'IdCmdTCPClient' Package
[Overview][Types][Classes][Index] [#pl_indy]

TIdCmdTCPClient

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: IdCmdTCPClient.pas line 146

type TIdCmdTCPClient = class(TIdTCPClient)

protected

  FExceptionReply: TIdReply;

  

  FListeningThread: TIdCmdTCPClientListeningThread;

  

  FCommandHandlers: TIdCommandHandlers;

  

  FOnAfterCommandHandler: TIdCmdTCPClientAfterCommandHandlerEvent;

  

  FOnBeforeCommandHandler: TIdCmdTCPClientBeforeCommandHandlerEvent;

  

  procedure DoAfterCommandHandler();

  

  procedure DoBeforeCommandHandler();

  

  procedure DoReplyUnknownCommand(); virtual;

  

  function GetCmdHandlerClass; virtual;

  

  procedure InitComponent; override;

  

  procedure SetCommandHandlers();

  

  procedure SetExceptionReply();

  

public

  procedure Connect; override;

  

  destructor Destroy; override;

  

  procedure Disconnect(); override;

  

published

  property CommandHandlers: TIdCommandHandlers; [rw]

  

  property ExceptionReply: TIdReply; [rw]

  

  property OnAfterCommandHandler: TIdCmdTCPClientAfterCommandHandlerEvent; [rw]

  

  property OnBeforeCommandHandler: TIdCmdTCPClientBeforeCommandHandlerEvent; [rw]

  

end;

Inheritance

TIdCmdTCPClient

  

|

TIdTCPClient

  

|

TIdTCPClientCustom

  

|

TIdTCPConnection

  

|

TIdComponent

  

|

TIdBaseComponent

  

|

TIdInitializerComponent

  

|

TObject



CT Web help

CodeTyphon Studio