Class TCastleTCPServer

Unit

Declaration

type TCastleTCPServer = class(TCastleSocket)

Description

No description available, ancestor TCastleSocket description follows

Hierarchy

Overview

Methods

Public constructor Create; override;
Public destructor Destroy; override;
Public procedure Start; virtual;
Public procedure Stop; virtual;
Public procedure Disconnect(AClient: TClientConnection); virtual;
Public procedure SendToClient(const AMessage: String; AClient: TClientConnection); virtual;
Public procedure SendToAll(const AMessage: String); virtual;
Public function IsConnected: Boolean; overload; virtual;
Public function IsConnected(AClient: TClientConnection): Boolean; overload; virtual;

Properties

Public property OnConnected: TClientConnectionEvent read FOnConnected write FOnConnected;
Public property OnDisconnected: TClientConnectionEvent read FOnDisconnected write FOnDisconnected;
Public property OnMessageRecieved: TClientMessageRecievedEvent read FOnMessageRecieved write FOnMessageRecieved;

Description

Methods

Public constructor Create; override;
 
Public destructor Destroy; override;
 
Public procedure Start; virtual;
 
Public procedure Stop; virtual;
 
Public procedure Disconnect(AClient: TClientConnection); virtual;
 
Public procedure SendToClient(const AMessage: String; AClient: TClientConnection); virtual;
 
Public procedure SendToAll(const AMessage: String); virtual;
 
Public function IsConnected: Boolean; overload; virtual;
 
Public function IsConnected(AClient: TClientConnection): Boolean; overload; virtual;
 

Properties

Public property OnConnected: TClientConnectionEvent read FOnConnected write FOnConnected;
 
Public property OnDisconnected: TClientConnectionEvent read FOnDisconnected write FOnDisconnected;
 
Public property OnMessageRecieved: TClientMessageRecievedEvent read FOnMessageRecieved write FOnMessageRecieved;
 

Generated by PasDoc 0.16.0.