TROWSocketServer Class

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for RemObjects SDK for Delphi
This page is generated from external data, please do not update

InterfacesClassesAliasesImplements

Contents

Overview

The TROWSocketServer class is used internally by the TROCustomIcsAsyncSuperTCPServer class to accept incoming connections.

This class is not designed to be used outside of the TROCustomIcsAsyncSuperTCPServer implementation.


Location

uROIcsAsyncSuperTcpServer.pas

  • Ancestry: TCustomWSocketServer | TROWSocketServer


Properties

Client

Brings the OverbyteIcs's TCustomWSocketServer.Client property, which allows an indexed access to the TWSocketClient, to public visibility (please also refer to the ClientCount).



property Client:


ClientCount

Brings the OverbyteIcs's TCustomWSocketServer.ClientCount property, which indicates how many clients are currently connected (accessible through the Client property), to public visibility.



property ClientCount:


MessagePumpThread

Access to the TROIcsMessagePumpThread which uses Windows message queuing for scheduling.



property MessagePumpThread: TROIcsMessagePumpThread read write


Server

The instance of the TROCustomIcsAsyncSuperTCPServer that created this socket.



property Server: TROCustomIcsAsyncSuperTCPServer read


Instance Methods

constructor Create   reintroduce

Initializes the instance as an AServer's worker.


constructor Create(AServer: TROCustomIcsAsyncSuperTCPServer)


Parameters:

  • AServer: Becomes the value of the Server property.


destructor Destroy   override



destructor Destroy


Listen   override

Overrides the OverbyteIcs's TCustomWSocketServer.Listen for debugging purposes by simply calling an inherited version.


procedure Listen


TriggerClientConnect   protected override

Overrides the OverbyteIcs's TCustomWSocketServer.TriggerClientConnect for log processing and adjusting the socket's options; then calls an inherited version.


procedure TriggerClientConnect(Client: TWSocketClient; Error: Word)


Parameters:

  • Client: TWSocketClient instance
  • Error: Error code


WndProc   protected override

Overrides the OverbyteIcs's TCustomWSocketServer.WndProc for debugging purposes, logs MsgRec and calls an inherited version.


procedure WndProc(var MsgRec: TMessage)


Parameters:

  • MsgRec:


See Also


Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Xcode, Delphi, Java and JavaScript

GlossaryArticlesLibrarySamples

Personal tools
Namespaces

Variants
Actions
Navigation
products
platforms
special
Toolbox