wcl |
The wclRfCommServer type exposes the following members.
Name | Description | |
---|---|---|
wclRfCommServer | Creates a new component. |
Name | Description | |
---|---|---|
AssignedChannel | Gets the RFCOMM assigned channel number. | |
Authentication | Gets and sets the authentication value. | |
Channel | Gets and sets the service RFCOMM channel number. 0 to auto detection. | |
Count | Gets the number of the connected clients. | |
Encryption | Gets and sets the encryption state of the connection. | |
Item | Gets the connected client by its index. | |
Radio | Gets the connection radio object. | |
Service | Gets and sets the Bluetooth service UUID used for connection. | |
ServiceName | Gets and sets the service name. | |
State | Gets the current connection state. |
Name | Description | |
---|---|---|
Close | Closes the server. | |
DoClosed | Fires the OnClosed event. | |
DoConnect | Fires the OnConnect event. | |
DoCreateProcessor | Fires the OnCreateProcessor event. | |
DoData | Fires the OnData event. | |
DoDestroyProcessor | Fires the OnDestroyProcessor event. | |
DoDisconnect | Fires the OnDisconnect event. | |
DoGetSdpAttributes | Fires the GetSdpAttributes event. | |
DoListen | Fires the OnListen event. | |
Enter | Enters the Bluetooth component protection critical
section. (Inherited from wclBluetoothComponent) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Leave | Leaves the Bluetooth component protection critical
section. (Inherited from wclBluetoothComponent) | |
Listen | The method starts listening for client connections. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
GetSdpAttributes | The event fires when the server builds SDP record for the service it runs. If an application needs to provide additional attributes it should handle the event. By default no additional attributes is added for the SDP record. | |
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. | |
OnListen | The event fires when the server is ready to accept incoming connections (is in listening state). |