Click or drag to resize

wclRfCommServer Class

Bluetooth RFCOMM server.
Inheritance Hierarchy

Namespace:  wclBluetooth
Assembly:  wclBluetoothFramework (in wclBluetoothFramework.dll) Version: (
public class wclRfCommServer : wclBluetoothComponent

The wclRfCommServer type exposes the following members.

Public methodwclRfCommServer
Creates a new component.
Public propertyAssignedChannel
Gets the RFCOMM assigned channel number.
Public propertyAuthentication
Gets and sets the authentication value.
Public propertyChannel
Gets and sets the service RFCOMM channel number. 0 to auto detection.
Public propertyCount
Gets the number of the connected clients.
Public propertyEncryption
Gets and sets the encryption state of the connection.
Public propertyItem
Gets the connected client by its index.
Public propertyRadio
Gets the connection radio object.
Public propertyService
Gets and sets the Bluetooth service UUID used for connection.
Public propertyServiceName
Gets and sets the service name.
Public propertyState
Gets the current connection state.
Public methodClose
Closes the server.
Protected methodDoClosed
Fires the OnClosed event.
Protected methodDoConnect
Fires the OnConnect event.
Protected methodDoCreateProcessor
Fires the OnCreateProcessor event.
Protected methodDoData
Fires the OnData event.
Protected methodDoDestroyProcessor
Fires the OnDestroyProcessor event.
Protected methodDoDisconnect
Fires the OnDisconnect event.
Protected methodDoGetSdpAttributes
Fires the GetSdpAttributes event.
Protected methodDoListen
Fires the OnListen event.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodListen
The method starts listening for client connections.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public eventGetSdpAttributes
The event fires when the server builds SDP record for the service it runs. If an application needs to provide additinal attributes it should handle the event. By default no additional attributes is added for the SDP record.
Public eventOnClosed
The event fires when the server is closed.
Public eventOnConnect
The event fires when a remote client is connected to the server.
Public eventOnCreateProcessor
The event fires when connection to a remote device has been established with success to allow application provide a data processor for the connection.
Public eventOnData
The event fires when new data is received from the connected remote device.
Public eventOnDestroyProcessor
The event fires when connection to a remote device has been terminated. An application must destroy the Data Processor created for the connection.
Public eventOnDisconnect
The event fires when a remote client has disconnected from the server.
Public eventOnListen
The event fires when the serve ris ready to accept incomming connections (is in listening state).
The TwclRfCommClient component enables an application to accept connections from Bluetooth devices through RFCOMM protocol and work with RFCOMM based profiles (SPP, OBEX, others).
See Also