Click or drag to resize

wclServerConnection Methods

The wclServerConnection type exposes the following members.

Methods
 NameDescription
Protected methodCheckState The method checks is the connection state and raises the wclEConnectionActive exception when the connection is active.
(Overrides wclCustomConnectionCheckState)
Public methodClose The method disconnects all connected clients and closes the server.
Protected methodCreateClientConnection Sends a notification to the main thread to create and init new client connection.
Protected methodDoClosed Calls the OnClosed event.
Protected methodDoConnect Calls the OnConnect event.
Protected methodDoDisconnect Calls the OnDisconnect event.
Protected methodDoListen Calls the OnListen event.
Protected methodEnterCS Enters the connection critical section.
(Inherited from wclCustomConnection)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHalClose Provides a hardware-dependent implementation for incoming client connections listening.
Protected methodHalCreateClient The method crteates a hardware and transport-dependent client connection.
Protected methodHalListen Provides a hardware-dependent implementation for incoming client connections listening.
Protected methodHalPrepare Implements a hardware-dependent code that prepares for incoming connections listening.
Protected methodInternalClose Closes the server.
Protected methodLeaveCS Leaves the connection critical section.
(Inherited from wclCustomConnection)
Protected methodListen The method starts listening for client connections.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMessageReceived The message receiver calls this method when a new notification message is received.
(Overrides wclCustomConnectionMessageReceived(wclMessage))
Protected methodPostMessage Places a message to the connection's message receiver queue.
(Inherited from wclCustomConnection)
Protected methodSetClientEventHandler The method sets the client's event handlers.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also