TwclIrDAClient Class

The IrDA client component.

Namespace: wclIrDAClients
TComponent
  wclIrDAClients.TwclIrDAClient
type
 TwclIrDAClient = class(TComponent)
 end;

The TwclIrDAClient type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Create a new IrDA client.

Destroy

Frees the component.

Top
Show:
 NameDescription
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 n is a select number in range from 1 to 127.

State

Gets the connection state.

Timeout

Gets and sets the connect timeout value.

Top
Show:
 NameDescription
Connect

Connects to a remote device.

Disconnect

Disconnects from the connected device.

DoConnect(Integer)

Fires the OnConnect event.

DoCreateProcessor(TwclClientDataConnection)

Fires the OnCreateProcessor event.

DoData(Pointer,Cardinal)

Fires the OnData event.

DoDestroyProcessor(TwclClientDataConnection)

Fires the OnDestroyProcessor event.

DoDisconnect(Integer)

Fires the OnDisconnect event.

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.

Top
Show:
 NameDescription
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.

Top

The IrDA Client component allows your application to connect to a remote IrDA enabled device and exchange data with the device.