TwclIrDAClient Class
The IrDA client component.
wclIrDAClients.TwclIrDAClient
The TwclIrDAClient type exposes the following members.
Name | Description | |
---|---|---|
Address | Gets and sets the target IrDA device's address. | |
Mode | Gets and sets the IrDA connection mode. | |
Processor | Gets the Data Processor created for the connection. | |
Service | Gets and sets the IrDA service that should be used to connect. It can be a TinyTP service name or LSAP selector number. In case of using LSAP selector number the format is 'LSAP-SELn' where | |
State | Gets the connection state. | |
Timeout | Gets and sets the connect timeout value. |
Name | Description | |
---|---|---|
Connect | Connects to a remote device. | |
Disconnect | Disconnects from the connected device. | |
DoConnect(Integer) | Fires the | |
DoCreateProcessor(TwclClientDataConnection) | Fires the | |
DoData(Pointer,Cardinal) | Fires the | |
DoDestroyProcessor(TwclClientDataConnection) | Fires the | |
DoDisconnect(Integer) | Fires the | |
GetReadBufferSize(Cardinal) | Reads the read buffer size. | |
GetWriteBufferSize(Cardinal) | Reads the write buffer size. | |
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). | |
OnCreateProcessor | The event fires when connection to a remote device has been established with success to allow application provide a data processor for the connection. | |
OnData | The event fires when new data is received from the connected remote device. | |
OnDestroyProcessor | The event fires when connection to a remote device has been terminated. An application must destroy the Data Processor created for the connection. | |
OnDisconnect | The event fires when the remote connected device has been disconnected. |
The IrDA Client component allows your application to connect to a remote IrDA enabled device and exchange data with the device.