System.Win.ScktComp.TServerClientThread Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
AfterConstructionpublicExecutes the thread when the thread is created with CreateSuspended set to false.
BeforeDestructionpublic
CheckDisposedprotected
CheckTerminatedpublicIndicates whether the thread has been asked to terminate.
CheckThreadErrorprotectedChecks whether an error appears on a thread operation.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
ClientExecuteprotectedSimulates OnClientRead and OnClientWrite events for the associated server socket.
CreatepublicCreates an instance of TServerClientThread.
CreateAnonymousThreadpublicCreates an instance of an internally derived thread.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DestroypublicDestroys the server client thread object and releases the memory allocated to it.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
DoTerminateprotectedRemoves the thread from the list of active threads maintained by the associated server socket.
EndConnectprotectedIndicates whether the thread should execute again for another client.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ErrorprotectedGenerates an OnClientError event for the associated server socket.
EventprotectedGenerates an OnSocketEvent event for the associated server socket.
ExecuteprotectedManages the caching of server client threads and calls the ClientExecute method to run the thread for individual client connections.
FieldAddresspublicReturns the address of a published object field.
ForceQueuepublicQueues the execution of a method call within the main thread.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
GetCPUUsagepublicCalculates the average time that the CPU is busy executing user code and kernel code.
GetDisposedprotectedGetter for the Disposed property.
GetHashCodepublicReturns an integer containing the hash code.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetSystemTimespublic
GetTickCountpublicReturns the number of milliseconds that have elapsed since the system was started.
HandleExceptionprotectedDisplays an error message using the main VCL thread.
InheritsFrompublicDetermines the relationship of two object types.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
NameThreadForDebuggingpublicUse NameThreadForDebugging to name a thread that was created without a name. Also, use this method to rename a specified thread.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
QualifiedClassNamepublicReturns the qualified name of the class.
QueuepublicExecutes a method call within the main thread.
ReActivateprotectedInitializes the thread for a particular client connection.
RemoveQueuedEventspublicRemove queued method calls.
Resume (deprecated)publicRestarts 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.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SetFreeOnTerminateprotected
SetReturnValuepublicSets the current thread's return value.
ShutdownThreadprotected
SleeppublicSuspend the execution of the thread for a specified amount of time.
SpinWaitpublicBlocks the execution of the thread in a spin-wait loop.
StartpublicStarts the execution of a thread.
StartConnectprotectedIndicates when the thread is ready to execute.
StaticQueue (deprecated)publicAsynchronously executes a method call within the main thread.
StaticSynchronize (deprecated)publicExecutes a method call within the main thread.
Suspend (deprecated)publicPauses a running thread. Suspend was intended to be used by debuggers and is deprecated in RAD Studio XE, in the year 2010.
SynchronizepublicExecutes a method call within the main thread.
TerminatepublicSignals the thread to terminate by setting the Terminated property to true.
TerminatedSetprotected
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
WaitForpublicWaits for the thread to terminate and then returns the value of the ReturnValue property.
YieldpublicPasses the execution to another thread.