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 OnMessageReceived: TClientMessageReceivedEvent read FOnMessageReceived write FOnMessageReceived;
Public property OnMessageRecieved: TClientMessageReceivedEvent read FOnMessageReceived write FOnMessageReceived; deprecated 'use OnMessageReceived';

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 OnMessageReceived: TClientMessageReceivedEvent read FOnMessageReceived write FOnMessageReceived;
 
Public property OnMessageRecieved: TClientMessageReceivedEvent read FOnMessageReceived write FOnMessageReceived; deprecated 'use OnMessageReceived';

Warning: this symbol is deprecated: use OnMessageReceived

 

Generated by PasDoc 0.16.0.