TwclServerClientDataConnection Class
The base class for the server client connection that requires data exchange with a remote device.
wclConnections.TwclCustomConnection
wclConnections.TwclServerClientConnection
wclConnections.TwclServerClientDataConnection
wclBluetooth.TwclRfCommServerClientConnection
type TwclServerClientDataConnection = class(TwclServerClientConnection) end;
The TwclServerClientDataConnection type exposes the following members.
Name | Description | |
---|---|---|
Create | Creates a new serve rclient data connection. (Overrides TwclServerClientConnection.Create.) |
Name | Description | |
---|---|---|
Disconnected | Gets the connection state. (Inherited from TwclServerClientConnection.) | |
Params | Custom connection parameters. (Inherited from TwclServerClientConnection.) | |
Processor | Gets the current Data Processor object assigned to the Connection. | |
Receiver | Gets the connection message receiver object. (Inherited from TwclCustomConnection.) | |
Server | Gets the client owner. (Inherited from TwclServerClientConnection.) | |
ThreadId | Gets the connection's thread ID. (Inherited from TwclCustomConnection.) |
Name | Description | |
---|---|---|
Accept(TwclServerConnection,Pointer,Cardinal) | The method accepts the client connection request. (Overrides TwclServerClientConnection.Accept(TwclServerConnection,Pointer,Cardinal).) | |
Disconnect | Disconnects from the connected remote device. (Inherited from TwclServerClientConnection.) | |
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. | |
HalAccept | Hardware-dependent method that prepares to communicate with a connected remote client device. (Inherited from TwclServerClientConnection.) | |
HalCommunicate(THandle) | Implements a hardware-dependent code that communicate with the connected remote device. (Inherited from TwclServerClientConnection.) | |
HalDisconnect | Implements a hardware-dependent code that disconnects from the connected remote device. (Inherited from TwclServerClientConnection.) | |
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. | |
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 TwclServerClientConnection.MessageReceived(TwclMessage).) | |
NotifyClosed(Integer) | Send a Disconnect notification message. (Inherited from TwclServerClientConnection.) | |
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 for a remote device has been accepted. (Inherited from TwclServerClientConnection.) | |
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 TwclServerClientConnection.) |