Click or drag to resize

wclClientDataConnection Class

The base class for the client connection that requires data exchange with a remote device.
Inheritance Hierarchy

Namespace: wclCommunication
Assembly: wclCommunication (in wclCommunication.dll) Version: 7.8.3.0 (7.8.3.0)
Syntax
public abstract class wclClientDataConnection : wclClientConnection

The wclClientDataConnection type exposes the following members.

Constructors
 NameDescription
Public methodwclClientDataConnection Creates a new client data connection.
Top
Properties
 NameDescription
Public propertyProcessor Gets the current Data Processor object assigned to the Connection.
Public propertyReceiver Gets the connection message receiver object.
(Inherited from wclCustomConnection)
Public propertyState Gets the connection state.
(Inherited from wclClientConnection)
Public propertyThreadId Gets the connection's thread ID.
(Inherited from wclCustomConnection)
Public propertyTimeout Gets the connect timeout value.
(Inherited from wclClientConnection)
Top
Methods
 NameDescription
Public methodConnect Connects to a remote device.
(Inherited from wclClientConnection)
Public methodDisconnect Disconnects from the connected remote device.
(Inherited from wclClientConnection)
Protected methodDoConnect Fires the OnConnect event.
(Inherited from wclClientConnection)
Protected methodDoData Fires the OnData event.
Protected methodDoDisconnect Fires the OnDisconnect event.
(Inherited from wclClientConnection)
Protected methodEnter Enters the connection's critical section.
(Inherited from wclCustomConnection)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalize Frees the connection.
(Inherited from wclClientConnection)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetReadBufferSize Reads the read buffer size.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetWriteBufferSize Reads the write buffer size.
Protected methodHalCommunicate Implements a hardware-dependent code that communicate with the connected remote device.
(Inherited from wclClientConnection)
Protected methodHalConnect Implements a hardware-dependent code that connects to a remote device.
(Inherited from wclClientConnection)
Protected methodHalDisconnect Implements a hardware-dependent code that disconnects from the connected remote device.
(Inherited from wclClientConnection)
Protected methodHalGetReadBufferSize Reads the read buffer size.
Protected methodHalGetWriteBufferSize Reads the write buffer size.
Protected methodHalSetReadBufferSize Sets the read buffer size.
Protected methodHalSetWriteBufferSize Sets the write buffer size.
Protected methodHalWrite Implements a hardware-dependent code that sends data to the connected device.
Protected methodInternalDisconnect The internal disconnect method. Disconnects from a connected remote device.
(Inherited from wclClientConnection)
Protected methodLeave Exists *leaves) the connection's critical section.
(Inherited from wclCustomConnection)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMessageReceived The message receiver calls this method when a new notification message has been received.
(Overrides wclClientConnectionMessageReceived(wclMessage))
Protected methodNotifyClosed Send a Disconnect notification message.
(Inherited from wclClientConnection)
Protected methodNotifyDataReceived Send a data notification message.
Public methodSetReadBufferSize Sets the read buffer size.
Public methodSetWriteBufferSize Sets the write buffer size.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWrite Sends data to the connected device.
Top
Events
 NameDescription
Public eventOnConnect The event fires when a connection to a remote device has been completed (with or without success).
(Inherited from wclClientConnection)
Public eventOnData The event fires when new data is received from the connected remote device.
Public eventOnDisconnect The event fires when the remote connected device has been disconnected.
(Inherited from wclClientConnection)
Top
See Also