TwclIrDAServer Class

The IrDA Server component.

Namespace: wclIrDAServers
TComponent
  wclIrDAServers.TwclIrDAServer
type
 TwclIrDAServer = class(TComponent)
 end;

The TwclIrDAServer type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Create a new IrDA server.

Destroy

Frees the component.

Top
Show:
 NameDescription
ClientsCount

Gets the number of connected clients.

Clients[Integer]

Gets a connected client by its index.

Mode

Gets and sets the IrDA connection mode.

OnListen

The event fires when the serve ris ready to accept incomming connections (is in listening state).

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 server state.

Top
Show:
 NameDescription
AddIasRecord(string,string,Byte[])

Overloaded. The function adds the octet sequence value into the server's IAS database.

AddIasRecord(string,string,Integer)

Overloaded. The function adds the integer value into the server's IAS database.

AddIasRecord(string,string,TwclIrDACharSet,Byte[])

Overloaded. The function adds the string value into the server's IAS database.

Close

Closes the server.

DoClosed(Integer)

Fires the OnClosed event.

DoConnect(TwclIrDAServerClientConnection,Integer)

Fires the OnConnect event.

DoCreateProcessor(TwclServerClientDataConnection)

Fires the OnCreateProcessor event.

DoData(TwclIrDAServerClientConnection,Pointer,Cardinal)

Fires the OnData event.

DoDestroyProcessor(TwclServerClientDataConnection)

Fires the OnDestroyProcessor event.

DoDisconnect(TwclIrDAServerClientConnection,Integer)

Fires the OnDisconnect event.

DoListen

Fires the OnListen event.

Listen

Initializes the server and waits for incoming connections.

Top
Show:
 NameDescription
OnClosed

The event fires when the server is closed.

OnConnect

The event fires when a remote client is connected to the server.

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 a remote client has disconnected from the server.

Top