System.Win.ScktComp.TServerWinSocket Methods
InheritedProtected
Accept | public | Accepts a connection to a client socket. |
AfterConstruction | public | Responds after the last constructor has executed. |
AsyncInitSocket | protected | Looks up information or forms socket connections asynchronously. |
BeforeDestruction | public | Responds before the first destructor executes. |
CheckDisposed | protected | |
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. |
ClientConnect | protected | |
ClientDisconnect | protected | |
ClientErrorEvent | protected | |
ClientRead | protected | |
ClientWrite | protected | |
Close | public | Shuts down the socket connection if it is open. |
Connect | public | Provides the interface for a method that responds to connection notifications from client sockets. |
Create | public | Creates an instance of TServerWinSocket from a Windows socket handle. |
DefaultHandler | public | Processes message records. |
Destroy | public | Destroys an instance of TServerWinSocket. |
Disconnect | public | Shuts down the socket connection represented by a Windows socket handle. |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf | public | DisposeOf forces the execution of the destructor code in an object. |
DoCreateThread | protected | |
DoListen | protected | Opens a listening connection. |
DoOpen | protected | Opens a connection to a remote socket. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
Error | protected | Generates an OnErrorEvent event. |
Event | protected | Triggers an OnSocketEvent event. |
FieldAddress | public | Returns the address of a published object field. |
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. |
GetClientSocket | protected | |
GetClientThread | public | Returns the execution thread used by the client connection managed by the ClientSocket parameter. |
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. |
GetServerThread | protected | |
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. |
InitSocket | protected | Generates a windows Internet socket address structure from a description of the desired socket port. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
Listen | protected | Opens a listening connection for a server socket. |
Lock | public | Starts a critical section, blocking all other execution threads until the Unlock method is called. |
LookupName | public | Generates the portion of a Windows Internet socket address structure that describes the host. |
LookupService | public | Returns the port number associated with a specific service. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
Open | public | Opens a connection to a remote socket. |
QualifiedClassName | public | Returns the qualified name of the class. |
Read | public | Generates an OnSocketEvent of type seRead in response to notifications that the socket connection is ready. |
ReceiveBuf | public | Reads up to Count bytes from the socket connection into the Buf parameter. |
ReceiveLength | public | Returns the number of bytes ready to be sent over the socket connection. |
ReceiveText | public | Reads a string from the socket connection. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SendBuf | public | Writes Count bytes to the socket connection from the Buf parameter. |
SendStream | public | Writes all the information that can be read from the AStream parameter to the socket connection. |
SendStreamThenDrop | public | Writes all the information that can be read from the AStream parameter to the socket connection and then terminates the connection. |
SendText | public | Writes the string S to the socket connection. |
SetAsyncStyles | protected | Sets the ASyncStyles property. |
SetServerType | protected | |
SetThreadCacheSize | protected | |
ThreadEnd | protected | |
ThreadStart | 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. |
Unlock | public | Reenables execution in other threads after a critical section begun by the Lock method. |
Write | public | Generates an OnSocketEvent of type seWrite in response to notifications that the socket connection is ready. |