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.17.12.0 (7.17.12.0)
Syntax
public abstract class wclRfCommClientConnection : wclClientDataConnection

The wclRfCommClientConnection type exposes the following members.

Constructors
 NameDescription
Public methodwclRfCommClientConnection Create new Classic 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 propertyProcessor Gets the current Data Processor object assigned to the Connection.
(Inherited from wclClientDataConnection)
Public propertyRadio Gets the connection owner.
Public 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)
Public 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)
Protected methodEnter Enters the connection's critical section.
(Inherited from wclCustomConnection)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalize Frees the connection.
(Inherited from wclClientConnection)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetReadBufferSize Reads the read buffer size.
(Inherited from wclClientDataConnection)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetWriteBufferSize Reads the write buffer size.
(Inherited from wclClientDataConnection)
Protected methodHalCommunicate Implements a hardware-dependent code that communicate with the connected remote device.
(Inherited from wclClientConnection)
Protected methodHalConnect Implements a hardware-dependent code that connects to a remote device.
(Inherited from wclClientConnection)
Protected methodHalDisconnect Implements a hardware-dependent 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-dependent 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 methodLeave Exists *leaves) the connection's critical section.
(Inherited from wclCustomConnection)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(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 methodToStringReturns a string that represents the current object.
(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