TwclClientDataConnection Class
The base class for the client connection that requires data exchange with a remote device.
wclConnections.TwclCustomConnection
wclConnections.TwclClientConnection
wclConnections.TwclClientDataConnection
type TwclClientDataConnection = class(TwclClientConnection) end;
The TwclClientDataConnection type exposes the following members.
Name | Description | |
---|---|---|
Create | Creates a new client data connection. (Overrides TwclClientConnection.Create.) |
Name | Description | |
---|---|---|
Processor | Gets the current Data Processor object assigned to the Connection. | |
Receiver | Gets the connection message receiver object. (Inherited from TwclCustomConnection.) | |
State | Gets the connection state. (Inherited from TwclClientConnection.) | |
ThreadId | Gets the connection's thread ID. (Inherited from TwclCustomConnection.) | |
Timeout | Gets the connect timeout value. (Inherited from TwclClientConnection.) |
Name | Description | |
---|---|---|
Connect(Cardinal) | Connects to a remote device. (Inherited from TwclClientConnection.) | |
Disconnect | Disconnects from the connected remote device. (Inherited from TwclClientConnection.) | |
DoConnect(Integer) | Fires the | |
DoData(Pointer,Cardinal) | Fires the | |
DoDisconnect(Integer) | Fires the | |
Enter | Enters the connection's critical section. (Inherited from TwclCustomConnection.) | |
GetReadBufferSize(Cardinal) | Reads the read buffer size. | |
GetWriteBufferSize(Cardinal) | Reads the write buffer size. | |
HalCommunicate(THandle) | Implements a hardware-dependent code that communicate with the connected remote device. (Inherited from TwclClientConnection.) | |
HalConnect(THandle) | Implements a hardware-dependent code that connects to a remote device. (Inherited from TwclClientConnection.) | |
HalDisconnect | Implements a hardware-dependent code that disconnects from the connected remote device. (Inherited from TwclClientConnection.) | |
HalGetReadBufferSize(Cardinal) | Reads the read buffer size. | |
HalGetWriteBufferSize(Cardinal) | Reads the write buffer size. | |
HalSetReadBufferSize(Cardinal) | Sets the read buffer size. | |
HalSetWriteBufferSize(Cardinal) | Sets the write buffer size. | |
HalWrite(Pointer,Cardinal,Cardinal) | Implements a hardware-dependent code that sends data to the connected device. | |
InternalDisconnect(Integer) | The internal disconnect method. Disconnects from a connected remote device. (Inherited from TwclClientConnection.) | |
Leave | Exists *leaves) the connection's critical section. (Inherited from TwclCustomConnection.) | |
MessageReceived(TwclMessage) | The message receiver calls this method when a new notification message has been received. (Overrides TwclClientConnection.MessageReceived(TwclMessage).) | |
NotifyClosed(Integer) | Send a Disconnect notification message. (Inherited from TwclClientConnection.) | |
NotifyDataReceived(Pointer,Cardinal) | Send a data notification message. | |
SetReadBufferSize(Cardinal) | Sets the read buffer size. | |
SetWriteBufferSize(Cardinal) | Sets the write buffer size. | |
Write(Pointer,Cardinal,Cardinal) | Sends data to the connected device. |
Name | Description | |
---|---|---|
OnConnect | The event fires when a connection to a remote device has been completed (with or without success). (Inherited from TwclClientConnection.) | |
OnData | The event fires when new data is received from the connected remote device. | |
OnDisconnect | The event fires when the remote connected device has been disconnected. (Inherited from TwclClientConnection.) |