wcl |
The wclSerialClient type exposes the following members.
| Name | Description | |
|---|---|---|
| wclSerialClient | Creates new serial connection. |
| Name | Description | |
|---|---|---|
| DeviceName | Gets a serial device name. | |
| MessageProcessing |
Gets a message processing method.
(Inherited from wclCustomConnection) | |
| Receiver |
Gets the connection message receiver object.
(Inherited from wclCustomConnection) | |
| State |
Gets the connection state.
(Inherited from wclClientConnection) | |
| ThreadId |
Gets the connection's thread ID.
(Inherited from wclCustomConnection) | |
| Timeout |
Gets and sets the connection timeout.
(Inherited from wclClientConnection) | |
| WriteTimeout | Gets and sets a write operation timeout. |
| Name | Description | |
|---|---|---|
| CheckState |
The method checks is the connection state and raises the
wclEConnectionActive exception when the connection is
active.
(Inherited from wclClientConnection) | |
| ClearCommBreak | Restores character transmission for a specified communications device and places the transmission line in a non-break state. | |
| Connect(wclMessageProcessingMethod) |
Starts the connection operation to a remote device.
(Inherited from wclClientConnection) | |
| Connect(String, wclMessageProcessingMethod) | Opens a connection to a specified serial port. | |
| Disconnect |
Disconnects from the connected remote device.
(Inherited from wclClientConnection) | |
| DoConnect |
Calls the OnConnect event.
(Inherited from wclClientConnection) | |
| DoData |
Calls the OnData event.
(Inherited from wclClientDataConnection) | |
| DoDisconnect |
Calls the OnDisconnect event.
(Inherited from wclClientConnection) | |
| DoError | Calls the OnError event. | |
| DoEvents | Calls the OnEvent event. | |
| DoReadError | Calls the OnReadError event. | |
| EnterCS |
Enters the connection critical section.
(Inherited from wclCustomConnection) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object) | |
| EscapeCommFunction | Directs the specified communications device to perform an extended function. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FlushBuffers | Flushes the buffers and causes all buffered data to be sent to the COM port. | |
| GetConfig | Reads the current serial port settings. | |
| GetFeatures | Reads the serial port features. | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object) | |
| GetModemStatus | Retrieves the modem control-register values. | |
| GetReadBufferSize |
Gets a read buffer size.
(Inherited from wclClientDataConnection) | |
| GetTimeouts | Reads the current serial port timeouts. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetWriteBufferSize |
Gets a write buffer size.
(Inherited from wclClientDataConnection) | |
| HalClearCommBreak | Implements a hardware-dependent code that restores character transmission for a specified communications device and places the transmission line in a nonbreak state. | |
| HalCommunicate |
Implements a hardware-dependent code that communicate with a connected
remote device.
(Overrides wclClientConnectionHalCommunicate(wclAutoResetEvent)) | |
| HalConnect |
Implements a hardware-dependent code that connects to a remote device.
(Overrides wclClientConnectionHalConnect(wclAutoResetEvent)) | |
| HalDisconnect |
Implements a hardware-dependent code that disconnects from a connected
remote device.
(Overrides wclClientConnectionHalDisconnect) | |
| HalEscapeCommFunction | Implements a hardware-dependent code that directs the specified communications device to perform an extended function. | |
| HalFlushBuffers | Implements a hardware-dependent code that flushes the buffers and causes all buffered data to be sent to the COM port. | |
| HalGetConfig | Implements a hardware-dependent code that reads the current serial port settings. | |
| HalGetFeatures | Implements a hardware-dependent code that reads the serial port features. | |
| HalGetModemStatus | Implements a hardware-dependent code that retrieves the modem control-register values. | |
| HalGetReadBufferSize |
Implements a hardware-dependent code that gets a read buffer size.
(Overrides wclClientDataConnectionHalGetReadBufferSize(UInt32)) | |
| HalGetTimeouts | Implements a hardware-dependent code that reads the current serial port timeouts. | |
| HalGetWriteBufferSize |
Implements a hardware-dependent code that gets a write buffer size.
(Overrides wclClientDataConnectionHalGetWriteBufferSize(UInt32)) | |
| HalPurgeComm | Implements a hardware-dependent code that 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. | |
| HalSetCommBreak | Implements a hardware-dependent code that suspends character transmission for a specified communications device and places the transmission line in a break state until the ClearCommBreak function is called. | |
| HalSetConfig | Implements a hardware-dependent code that writes the new serial port configuration. | |
| HalSetReadBufferSize |
Implements a hardware-dependent code that sets a read buffer size.
(Overrides wclClientDataConnectionHalSetReadBufferSize(UInt32)) | |
| HalSetTimeouts | Implements a hardware-dependent code that writes the serial port timeouts. | |
| HalSetWriteBufferSize |
Implements a hardware-dependent code that sets a write buffer size.
(Overrides wclClientDataConnectionHalSetWriteBufferSize(UInt32)) | |
| HalTransmitCommChar | Implements a hardware-dependent code that transmits a specified character ahead of any pending data in the output buffer of the specified communications device. | |
| HalWrite |
Implements a hardware-dependent code that sends data to a connected
device.
(Overrides wclClientDataConnectionHalWrite(Byte, UInt32)) | |
| InternalDisconnect |
The internal disconnect method. Disconnects from a connected remote
device.
(Inherited from wclClientConnection) | |
| LeaveCS |
Leaves the connection critical section.
(Inherited from wclCustomConnection) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MessageReceived |
The message receiver calls this method when a new notification message
is received.
(Overrides wclClientDataConnectionMessageReceived(wclMessage)) | |
| NotifyClosed |
Send a Disconnect notification message.
(Inherited from wclClientConnection) | |
| NotifyDataReceived |
Sends a data received notification message.
(Inherited from wclClientDataConnection) | |
| PostMessage |
Places a message to the connection's message receiver queue.
(Inherited from wclCustomConnection) | |
| PurgeComm | 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. | |
| SetCommBreak | Suspends character transmission for a specified communications device and places the transmission line in a break state until the ClearCommBreak function is called. | |
| SetConfig | Writes the new serial port configuration. | |
| SetReadBufferSize |
Sets a read buffer size.
(Inherited from wclClientDataConnection) | |
| SetTimeouts | Writes the serial port timeouts. | |
| SetWriteBufferSize |
Sets a write buffer size.
(Inherited from wclClientDataConnection) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TransmitCommChar | Transmits a specified character ahead of any pending data in the output buffer of the specified communications device. | |
| Write |
Sends a data to a connected device.
(Inherited from wclClientDataConnection) |
| Name | Description | |
|---|---|---|
| OnConnect |
The event is called when the connection operation to a remote device
is completed.
(Inherited from wclClientConnection) | |
| OnData |
The event is called when a data is received from a connected remote
device.
(Inherited from wclClientDataConnection) | |
| OnDisconnect |
The event fires when the remote connected device has been
disconnected.
(Inherited from wclClientConnection) | |
| OnError | The event is called when an error occured during communication. | |
| OnEvents | The event is called when a serial device event occured. | |
| OnReadError | The event is called when an error occurred during read operation. |