Click or drag to resize
wclRfCommClientConnection Class
The base class for all Classic Bluetooth (RFCOMM) client connections.
Inheritance Hierarchy

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.0.1.0 (7.0.1.0)

The wclRfCommClientConnection type exposes the following members.

Constructors
  NameDescription
Public methodwclRfCommClientConnection
Create new Classis Bluetooth client connection.
Top
Properties
  NameDescription
Public propertyAddress
Gets a remote device MAC address.
Public propertyAuthentication
Gets the authentication value.
Public propertyChannel
Gets the target service RFCOMM channel number. 0 to auto detection.
Public propertyEncryption
Gets the encryption state of the connection.
Public propertyRadio
Gets the connection owner.
Protected propertyReceiver
Gets the connection message receiver object.
(Inherited from wclCustomConnection.)
Public propertyService
Gets the target Bluetooth service UUID used for connection.
Public propertyState
Gets the connection state.
(Inherited from wclClientConnection.)
Protected propertyThreadId
Gets the connection's thread ID.
(Inherited from wclCustomConnection.)
Public propertyTimeout
Gets the connect timeout value.
(Inherited from wclClientConnection.)
Top
Methods
  NameDescription
Public methodConnect(UInt32)
Connects to a remote device.
(Inherited from wclClientConnection.)
Public methodConnect(Int64, Guid, Byte, Boolean, Boolean, UInt32)
Connects to a remote device.
Public methodDisconnect
Disconnects from the connected remote device.
(Inherited from wclClientConnection.)
Protected methodDoConnect
Fires the OnConnect event.
(Inherited from wclClientConnection.)
Protected methodDoData
Fires the OnData event.
(Inherited from wclClientDataConnection.)
Protected methodDoDisconnect
Fires the OnDisconnect event.
(Inherited from wclClientConnection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Frees the connection.
(Inherited from wclClientConnection.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetReadBufferSize
Reads the read buffer size.
(Inherited from wclClientDataConnection.)
Public methodGetType (Inherited from Object.)
Public methodGetWriteBufferSize
Reads the write buffer size.
(Inherited from wclClientDataConnection.)
Protected methodHalCommunicate
Implements a hardware depended code that communicate with the connected remote device.
(Inherited from wclClientConnection.)
Protected methodHalConnect
Implements a hardware depended code that connects to a remote device.
(Inherited from wclClientConnection.)
Protected methodHalDisconnect
Implements a hardware depended code that disconnects from the connected remote device.
(Inherited from wclClientConnection.)
Protected methodHalGetReadBufferSize
Reads the read buffer size.
(Inherited from wclClientDataConnection.)
Protected methodHalGetWriteBufferSize
Reads the write buffer size.
(Inherited from wclClientDataConnection.)
Protected methodHalSetReadBufferSize
Sets the read buffer size.
(Inherited from wclClientDataConnection.)
Protected methodHalSetWriteBufferSize
Sets the write buffer size.
(Inherited from wclClientDataConnection.)
Protected methodHalWrite
Implements a hardware depended code that sends data to the connected device.
(Inherited from wclClientDataConnection.)
Protected methodInternalDisconnect
The internal disconnect method. Disconnects from a connected remote device.
(Inherited from wclClientConnection.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMessageReceived
The method called when a new notification message received.
(Overrides wclClientDataConnectionMessageReceived(wclMessage).)
Protected methodNotifyClosed
Send a Disconnect notification message.
(Inherited from wclClientConnection.)
Protected methodNotifyDataReceived
Send a data notification message.
(Inherited from wclClientDataConnection.)
Public methodSetReadBufferSize
Sets the read buffer size.
(Inherited from wclClientDataConnection.)
Public methodSetWriteBufferSize
Sets the write buffer size.
(Inherited from wclClientDataConnection.)
Public methodToString (Inherited from Object.)
Public methodWrite
Sends data to the connected device.
(Inherited from wclClientDataConnection.)
Top
Events
  NameDescription
Public eventOnConnect
The event fires when a connection to a remote device has been completed (with or without success).
(Inherited from wclClientConnection.)
Public eventOnData
The event fires when new data is received from the connected remote device.
(Inherited from wclClientDataConnection.)
Public eventOnDisconnect
The event fires when the remote connected device has been disconnected.
(Inherited from wclClientConnection.)
Top
Remarks
An application must never create instances of this class directly. Instead of that an application must use related methods from the wclBluetoothRadio object.
See Also