|
Serial Framework C++ Edition
|
The base class for all WCL connections. More...
#include <wclConnections.h>
Public Member Functions | |
| CwclCustomConnection () | |
| Creates a new connection. | |
| virtual | ~CwclCustomConnection () |
| Frees the connection. | |
| wclMessageProcessingMethod | GetMessageProcessing () const |
| Gets the message processing method used by the connection. | |
| __declspec (property(get=GetMessageProcessing)) wclMessageProcessingMethod MessageProcessing | |
| Gets the message processing method used by the connection. | |
| CwclMessageReceiver * | GetReceiver () const |
| Gets the connection message receiver object. | |
| __declspec (property(get=GetReceiver)) CwclMessageReceiver *Receiver | |
| Gets the connection message receiver object. | |
| DWORD | GetThreadId () const |
| Gets the connection's thread ID. | |
| __declspec (property(get=GetThreadId)) DWORD ThreadId | |
| Gets the connection's thread ID. | |
Protected Member Functions | |
| virtual void | MessageReceived (const CwclMessage *const Message) |
| The message receiver calls this method when a new notification message has been received. | |
| CwclCriticalSection * | GetCS () |
| Gets the connection critical section. | |
| __declspec (property(get=GetCS)) CwclCriticalSection *CS | |
| Gets the connection critical section. | |
The base class for all WCL connections.
A connection implements a hardware-dependent methods to communicate with a remote devices: Classic Bluetooth, BLE, Serial etc.