Serial Framework
ContentsIndexHome
PreviousUpNext
TwclSerialClient Members

The following tables list the members exposed by TwclSerialClient.

 
Name 
Description 
 
Fires the OnConnect event.  
 
Fires the OnCreateProcessor event.  
 
Fires the OnData event.  
 
Fires the OnDestroyProcessor event.  
 
Fires the OnDisconnect event.  
 
Fires the OnError event.  
 
Fires the OnEvent event.  
 
Fires the OnReadError event.  
 
Name 
Description 
 
Restores character transmission for a specified communications device and places the transmission line in a nonbreak state.  
 
Connects to a Serial Device (COM port).  
 
Create a new component.  
 
Frees the component.  
 
Disconnects from the connected remote device.  
 
Directs the specified communications device to perform an extended function.  
 
Flushes the buffers and causes all buffered data to be sent to the COM port.  
 
Gets the current serial port settings.  
 
Retrieves the modem control-register values.  
 
Reads the read buffer size.  
 
Gets the current serial port timeouts.  
 
Reads the write buffer size.  
 
Discards all characters from the output or input buffer of a specified communications resource. It can also terminate pending read or write operations on the resource.  
 
Suspends character transmission for a specified communications device and places the transmission line in a break state until the ClearCommBreak function is called.  
 
Sets the new serial port configuration.  
 
Sets the read buffer size.  
 
Sets the serial port timeouts.  
 
Sets the write buffer size.  
 
Transmits a specified character ahead of any pending data in the output buffer of the specified communications device.  
 
Sends data to the connected device.  
 
Name 
Description 
 
Gets the Data Processor created for the connection.  
 
Gets the connection state.  
 
Name 
Description 
 
The event fires when a connection to a remote device has been completed (with or without success).  
 
The event fires when connection to a remote device has been established with success to allow application provide a data processor for the connection.  
 
The event fires when new data is received from the connected remote device.  
 
The event fires when connection to a remote device has been terminated. An application must destroy the Data Processor created for the connection.  
 
The event fires when the remote connected device has been disconnected.  
 
The event fires when a error occured during communication.  
 
The event fires when a serial device event accoures.  
 
The event fires when the error occured during read operation.  
 
Name 
Description 
 
Gets and sets the serial device name.  
 
Gets and sets the write operation timeout.  
Copyright (c) 2006-2019. All rights reserved.