Unit 'IdSimpleServer' Package
[Overview][Constants][Classes][Index] [#pl_indy]

TIdSimpleServer

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

Declaration

Source position: IdSimpleServer.pas line 111

type TIdSimpleServer = class(TIdTCPConnection)

protected

  FAbortedRequested: Boolean;

  

  FAcceptWait: Integer;

  

  FBoundIP: string;

  

  FBoundPort: TIdPort;

  

  FBoundPortMin: TIdPort;

  

  FBoundPortMax: TIdPort;

  

  FIPVersion: TIdIPVersion;

  

  FListenHandle: TIdStackSocketHandle;

  

  FListening: Boolean;

  

  FOnBeforeBind: TNotifyEvent;

  

  FOnAfterBind: TNotifyEvent;

  

  procedure Bind;

  

  procedure DoBeforeBind; virtual;

  

  procedure DoAfterBind; virtual;

  

  function GetBinding;

  

  procedure InitComponent; override;

  

  procedure SetIOHandler(); override;

  

  procedure SetIPVersion();

  

public

  procedure Abort; virtual;

  

  procedure BeginListen; virtual;

  

  procedure CreateBinding;

  

  procedure EndListen; virtual;

  

  procedure Listen(); virtual;

  

  property AcceptWait: Integer; [rw]

  

published

  property BoundIP: string; [rw]

  

  property BoundPort: TIdPort; [rw]

  

  property BoundPortMin: TIdPort; [rw]

  

  property BoundPortMax: TIdPort; [rw]

  

  property Binding: TIdSocketHandle; [r]

  

  property IPVersion: TIdIPVersion; [rw]

  

  property OnBeforeBind: TNotifyEvent; [rw]

  

  property OnAfterBind: TNotifyEvent; [rw]

  

end;

Inheritance

TIdSimpleServer

  

|

TIdTCPConnection

  

|

TIdComponent

  

|

TIdBaseComponent

  

|

TIdInitializerComponent

  

|

TObject



CT Web help

CodeTyphon Studio