System.Win.ScktComp.TServerClientThread Methods
From RAD Studio API Documentation
InheritedProtected
AfterConstruction public Executes the thread when the thread is created with CreateSuspended set to false.
BeforeDestruction public Responds before the first destructor executes.
CheckDisposed protected
CheckTerminated public Indicates whether the thread has been asked to terminate.
CheckThreadError protected Checks whether an error appears on a thread operation.
ClassInfo public Returns a pointer to the run-time type information (RTTI) table for the object type.
ClassName public Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIs public Determines whether an object is of a specific type.
ClassParent public Returns the type of the immediate ancestor of a class.
ClassType public Returns the class reference for the object's class.
CleanupInstance public Performs finalization on long strings, variants, and interface variables within a class.
ClientExecute protected Simulates OnClientRead and OnClientWrite events for the associated server socket.
CreateAnonymousThread public Creates an instance of an internally derived thread.
DefaultHandler public Provides the interface for a method that processes message records.
Dispatch public Calls message-handling methods for the object, based on the contents of the Message parameter.
DoTerminate protected Removes the thread from the list of active threads maintained by the associated server socket.
EndConnect protected Indicates whether the thread should execute again for another client.
Equals public Checks whether the current instance and the Obj parameter are equal.
Event protected Generates an OnSocketEvent event for the associated server socket.
Execute protected Manages the caching of server client threads and calls the ClientExecute method to run the thread for individual client connections.
FieldAddress public Returns the address of a published object field.
ForceQueue public Queues the execution of a method call within the main thread.
Free public Destroys an object and frees its associated memory, if necessary.
FreeInstance public Deallocates memory allocated by a previous call to the NewInstance method.
GetCPUUsage public Calculates the average time that the CPU is busy executing user code and kernel code.
GetDisposed protected Getter for the Disposed property.
GetHashCode public Returns an integer containing the hash code.
GetInterface public Retrieves a specified interface.
GetInterfaceEntry public Returns the entry for a specific interface implemented in a class.
GetInterfaceTable public Returns a pointer to a structure containing all of the interfaces implemented by a given class.
GetSystemTimes public
GetTickCount public Returns the number of milliseconds that have elapsed since the system was started.
HandleException protected Displays an error message using the main VCL thread.
InheritsFrom public Determines the relationship of two object types.
InitInstance public Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSize public Returns the size in bytes of each instance of the object type.
MethodAddress public Returns the address of a class method by name.
MethodName public Returns the name of a class method by address.
NameThreadForDebugging public Use NameThreadForDebugging to name a thread that was created without a name. Also, use this method to rename a specified thread.
NewInstance public Allocates memory for an instance of an object type and returns a pointer to that new instance.
QualifiedClassName public Returns the qualified name of the class.
Queue public Executes a method call within the main thread.
ReActivate protected Initializes the thread for a particular client connection.
RemoveQueuedEvents public Remove queued method calls.
Resume (deprecated) public Restarts the execution of a suspended thread. Resume was intended to be used by debuggers and is deprecated in RAD Studio XE, in the year 2010.
SafeCallException public Handles exceptions in methods declared using the safecall calling convention.
SetFreeOnTerminate protected
SetReturnValue public Sets the current thread's return value.
Sleep public Suspend the execution of the thread for a specified amount of time.
SpinWait public Blocks the execution of the thread in a spin-wait loop.
Start public Starts the execution of a thread.
StartConnect protected Indicates when the thread is ready to execute.
StaticQueue (deprecated) public Asynchronously executes a method call within the main thread.
StaticSynchronize (deprecated) public Executes a method call within the main thread.
Suspend (deprecated) public Pauses a running thread.
Suspend was intended to be used by debuggers and is deprecated in RAD Studio XE, in the year 2010.
Synchronize public Executes a method call within the main thread.
Terminate public Signals the thread to terminate by setting the Terminated property to true.
TerminatedSet protected
ToString public Returns a string containing the class name.
UnitName public Returns the name of the unit where the class is defined.
UnitScope public Returns the class's unit scope.
WaitFor public Waits for the thread to terminate and then returns the value of the ReturnValue property.
Yield public Passes the execution to another thread.