TwclRfCommServerClientConnection Class

The Bluetooth RFCOMM server client connection base class.

Namespace: wclBluetooth
type
 TwclRfCommServerClientConnection = class(TwclServerClientDataConnection)
 end;

The TwclRfCommServerClientConnection type exposes the following members.

Show:
 NameDescription
Create

Create the new RFCOMM server client connection. (Overrides TwclServerClientDataConnection.Create.)

Top
Show:
 NameDescription
Address

Gets the connected remote device's address.

Disconnected

Gets the connection state. (Inherited from TwclServerClientConnection.)

Params

Custom connection parameters. (Inherited from TwclServerClientConnection.)

Processor

Gets the current Data Processor object assigned to the Connection. (Inherited from TwclServerClientDataConnection.)

Receiver

Gets the connection message receiver object. (Inherited from TwclCustomConnection.)

Server

Gets the client owner. (Inherited from TwclServerClientConnection.)

ThreadId

Gets the connection's thread ID. (Inherited from TwclCustomConnection.)

Top
Show:
 NameDescription
Accept(TwclServerConnection,Pointer,Cardinal)

The method accepts the client connection request. (Overrides TwclServerClientConnection.Accept(TwclServerConnection,Pointer,Cardinal).)

Disconnect

Disconnects from the connected remote device. (Inherited from TwclServerClientConnection.)

DoConnect(Integer)

Fires the OnConnect event. (Inherited from TwclServerClientConnection.)

DoData(Pointer,Cardinal)

Fires the OnData event. (Inherited from TwclServerClientDataConnection.)

DoDisconnect(Integer)

Fires the OnDisconnect event. (Inherited from TwclServerClientConnection.)

Enter

Enters the connection's critical section. (Inherited from TwclCustomConnection.)

GetReadBufferSize(Cardinal)

Reads the read buffer size. (Inherited from TwclServerClientDataConnection.)

GetWriteBufferSize(Cardinal)

Reads the write buffer size. (Inherited from TwclServerClientDataConnection.)

HalAccept

Hardware-dependent method that prepares to communicate with a connected remote client device. (Inherited from TwclServerClientConnection.)

HalCommunicate(THandle)

Implements a hardware-dependent code that communicate with the connected remote device. (Inherited from TwclServerClientConnection.)

HalDisconnect

Implements a hardware-dependent code that disconnects from the connected remote device. (Inherited from TwclServerClientConnection.)

HalGetReadBufferSize(Cardinal)

Reads the read buffer size. (Inherited from TwclServerClientDataConnection.)

HalGetWriteBufferSize(Cardinal)

Reads the write buffer size. (Inherited from TwclServerClientDataConnection.)

HalSetReadBufferSize(Cardinal)

Sets the read buffer size. (Inherited from TwclServerClientDataConnection.)

HalSetWriteBufferSize(Cardinal)

Sets the write buffer size. (Inherited from TwclServerClientDataConnection.)

HalWrite(Pointer,Cardinal,Cardinal)

Implements a hardware-dependent code that sends data to the connected device. (Inherited from TwclServerClientDataConnection.)

Leave

Exists *leaves) the connection's critical section. (Inherited from TwclCustomConnection.)

MessageReceived(TwclMessage)

The message receiver calls this method when a new notification message has been received. (Overrides TwclServerClientConnection.MessageReceived(TwclMessage).)

NotifyClosed(Integer)

Send a Disconnect notification message. (Inherited from TwclServerClientConnection.)

NotifyDataReceived(Pointer,Cardinal)

Send a data notification message. (Inherited from TwclServerClientDataConnection.)

SetAddress(Int64)

Sets the connected device MAC address.

SetReadBufferSize(Cardinal)

Sets the read buffer size. (Inherited from TwclServerClientDataConnection.)

SetWriteBufferSize(Cardinal)

Sets the write buffer size. (Inherited from TwclServerClientDataConnection.)

Write(Pointer,Cardinal,Cardinal)

Sends data to the connected device. (Inherited from TwclServerClientDataConnection.)

Top
Show:
 NameDescription
OnConnect

The event fires when a connection for a remote device has been accepted. (Inherited from TwclServerClientConnection.)

OnData

The event fires when new data is received from the connected remote device. (Inherited from TwclServerClientDataConnection.)

OnDisconnect

The event fires when the remote connected device has been disconnected. (Inherited from TwclServerClientConnection.)

Top