Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclRfCommServerConnection Members

The following tables list the members exposed by TwclRfCommServerConnection.

 
Name 
Description 
 
Sends a notification to the main thread to create and init new client connection.  
 
Fires the OnClosed event.  
 
Fires the OnConnect event.  
 
Fires the OnData event.  
 
Fires the OnDisconnect event.  
 
Fires the GetSdpAttributes event.  
 
Fires the OnListen event.  
 
Implements a hardware-dependent method to stop listening.  
 
The method crteates a hardware and transport-dependent client connection.  
 
Implements a hardware-dependent method for listening the client connections.  
 
Implements a hardware-dependent code that prepares for listening.  
 
Closes the server.  
 
The method called when a new notification message received.  
 
Sets the assigned RFCOMM channel number.  
 
The method sets the client's event handlers.  
 
The method sets the client's event handlers.  
 
Name 
Description 
 
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.  
 
The event fires when the server is closed.  
 
The event fires when a remote client is connected to the server.  
 
The event fires when new data is received from the connected remote device.  
 
The event fires when a remote client has disconnected from the server.  
 
Name 
Description 
 
The method disconnects all connected clients and closes the server.  
 
Create new Classis Bluetooth server connection.  
 
Frees the connection.  
 
Frees the server connection.  
 
The method starts listening for client connections.  
 
Name 
Description 
 
Gets the assigned RFCOMM channel number.  
 
Gets the authentication value.  
 
Gets the service RFCOMM channel number. 0 to auto detection.  
 
Gets a connected client by its index.  
 
Gets the number of connected clients.  
 
Gets the encryption state of the connection.  
 
The event fires when the serve ris ready to accept incomming connections (is in listening state).  
 
Gets the connection owner.  
 
Gets the connection message receiver object.  
 
Gets the Bluetooth service UUID used for connection.  
 
Gets the service name.  
 
Gets the connection state.  
 
Gets the connection's thread ID.  
Copyright (c) 2006-2019. All rights reserved.