wcl |
The wclServerDataConnection type exposes the following members.
| Name | Description | |
|---|---|---|
| wclServerDataConnection | Creates new client data connection. |
| Name | Description | |
|---|---|---|
| ClientsCount |
Gets the number of connected clients.
(Inherited from wclServerConnection) | |
| Item |
Gets a connected client by its index.
(Inherited from wclServerConnection) | |
| MessageProcessing |
Gets a message processing method.
(Inherited from wclCustomConnection) | |
| Receiver |
Gets the connection message receiver object.
(Inherited from wclCustomConnection) | |
| State |
Gets the server state.
(Inherited from wclServerConnection) | |
| ThreadId |
Gets the connection's thread ID.
(Inherited from wclCustomConnection) |
| Name | Description | |
|---|---|---|
| CheckState |
The method checks is the connection state and raises the
wclEConnectionActive exception when the
connection is active.
(Inherited from wclServerConnection) | |
| Close |
The method disconnects all connected clients and closes the server.
(Inherited from wclServerConnection) | |
| CreateClientConnection |
Sends a notification to the main thread to create and init new client
connection.
(Inherited from wclServerConnection) | |
| DoClosed |
Calls the OnClosed event.
(Inherited from wclServerConnection) | |
| DoConnect |
Calls the OnConnect event.
(Inherited from wclServerConnection) | |
| DoData | Calls the OnData event. | |
| DoDisconnect |
Calls the OnDisconnect event.
(Inherited from wclServerConnection) | |
| DoListen |
Calls the OnListen event.
(Inherited from wclServerConnection) | |
| EnterCS |
Enters the connection critical section.
(Inherited from wclCustomConnection) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| HalClose |
Provides a hardware-dependent implementation for incoming client
connections listening.
(Inherited from wclServerConnection) | |
| HalCreateClient |
The method crteates a hardware and transport-dependent client
connection.
(Inherited from wclServerConnection) | |
| HalListen |
Provides a hardware-dependent implementation for incoming client
connections listening.
(Inherited from wclServerConnection) | |
| HalPrepare |
Implements a hardware-dependent code that prepares for incoming
connections listening.
(Inherited from wclServerConnection) | |
| InternalClose |
Closes the server.
(Inherited from wclServerConnection) | |
| LeaveCS |
Leaves the connection critical section.
(Inherited from wclCustomConnection) | |
| Listen |
The method starts listening for client connections.
(Inherited from wclServerConnection) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MessageReceived |
The message receiver calls this method when a new notification message
is received.
(Inherited from wclServerConnection) | |
| PostMessage |
Places a message to the connection's message receiver queue.
(Inherited from wclCustomConnection) | |
| SetClientEventHandler |
The method sets the client's event handlers.
(Overrides wclServerConnectionSetClientEventHandler(wclServerClientConnection)) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| OnClosed |
The event is called when the server is closed.
(Inherited from wclServerConnection) | |
| OnConnect |
The event is called when a remote client is connected to the server.
(Inherited from wclServerConnection) | |
| OnData | The event is called when new data is received from a connected remote device. | |
| OnDisconnect |
The event is called when a remote client has disconnected from the
server.
(Inherited from wclServerConnection) | |
| OnListen |
The event is called when the serve ris ready to accept incomming
connections (is in listening state).
(Inherited from wclServerConnection) |