Click or drag to resize

wclRfCommClient Class

The Bluetooth RFCOMM Client component.
Inheritance Hierarchy
SystemObject
  wclBluetoothwclBluetoothComponent
    wclBluetoothwclRfCommClient

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public class wclRfCommClient : wclBluetoothComponent

The wclRfCommClient type exposes the following members.

Constructors
 NameDescription
Public methodwclRfCommClient Creates new RFCOMM client component.
Top
Properties
 NameDescription
Public propertyAddress Gets and sets a target Bluetooth device's MAC address.
Public propertyAuthentication Gets and sets the authentication property for the connection.
Public propertyChannel Gets and sets the RFCOMM channel number used for connection.
Public propertyEncryption Gets and sets the Encryption property for the connection.
Public propertyProcessor Gets the Data Processor created for the connection.
Public propertyRadio Gets the radio object used for connection.
Public propertyService Gets and sets the service's UUID that should be used for connection.
Public propertyState Gets the current client state.
Public propertyTimeout Gets and sets the connect timeout value.
Top
Methods
 NameDescription
Public methodConnect Starts connecting to a remote Bluetooth device.
Public methodDisconnect Disconnects from the connection remote device.
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 methodEnter Enters the Bluetooth component protection critical section.
(Inherited from wclBluetoothComponent)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetReadBufferSize Reads the read buffer size.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetWriteBufferSize Reads the write buffer size.
Protected methodLeave Leaves the Bluetooth component protection critical section.
(Inherited from wclBluetoothComponent)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetReadBufferSize Sets the read buffer size.
Public methodSetWriteBufferSize Sets the write buffer size.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWrite Sends data to the connected device.
Top
Events
 NameDescription
Public eventOnConnect The event fires when a connection to a remote device has been completed (with or without success).
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 the remote connected device has been disconnected.
Top
See Also