TwclIrDAServer Class
The IrDA Server component.
wclIrDAServers.TwclIrDAServer
The TwclIrDAServer type exposes the following members.
Name | Description | |
---|---|---|
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 | |
State | Gets the server state. |
Name | Description | |
---|---|---|
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 | |
DoConnect(TwclIrDAServerClientConnection,Integer) | Fires the | |
DoCreateProcessor(TwclServerClientDataConnection) | Fires the | |
DoData(TwclIrDAServerClientConnection,Pointer,Cardinal) | Fires the | |
DoDestroyProcessor(TwclServerClientDataConnection) | Fires the | |
DoDisconnect(TwclIrDAServerClientConnection,Integer) | Fires the | |
DoListen | Fires the | |
Listen | Initializes the server and waits for incoming connections. |
Name | Description | |
---|---|---|
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. |