Click or drag to resize

wclClientDataConnection Class

The base class for the client connection that requires a data exchange with a remote device.
Inheritance Hierarchy
SystemObject
  wclCommunicationwclCustomConnection
    wclCommunicationwclClientConnection
      wclCommunicationwclClientDataConnection
        wclSerialFrameworkwclSerialClient

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

The wclClientDataConnection type exposes the following members.

Constructors
 NameDescription
Public methodwclClientDataConnection Creates new client connection.
Top
Properties
 NameDescription
Public propertyMessageProcessing Gets a message processing method.
(Inherited from wclCustomConnection)
Protected propertyReceiver Gets the connection message receiver object.
(Inherited from wclCustomConnection)
Public propertyState Gets the connection state.
(Inherited from wclClientConnection)
Protected propertyThreadId Gets the connection's thread ID.
(Inherited from wclCustomConnection)
Public propertyTimeout Gets and sets the connection timeout.
(Inherited from wclClientConnection)
Top
Methods
 NameDescription
Protected methodCheckState The method checks is the connection state and raises the wclEConnectionActive exception when the connection is active.
(Inherited from wclClientConnection)
Protected methodConnect Starts the connection operation to a remote device.
(Inherited from wclClientConnection)
Public methodDisconnect Disconnects from the connected remote device.
(Inherited from wclClientConnection)
Protected methodDoConnect Calls the OnConnect event.
(Inherited from wclClientConnection)
Protected methodDoData Calls the OnData event.
Protected methodDoDisconnect Calls the OnDisconnect event.
(Inherited from wclClientConnection)
Protected methodEnterCS Enters the connection critical section.
(Inherited from wclCustomConnection)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetReadBufferSize Gets a read buffer size.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetWriteBufferSize Gets a write buffer size.
Protected methodHalCommunicate Implements a hardware-dependent code that communicate with a 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 a connected remote device.
(Inherited from wclClientConnection)
Protected methodHalGetReadBufferSize Gets a read buffer size.
Protected methodHalGetWriteBufferSize Gets a write buffer size.
Protected methodHalSetReadBufferSize Sets a read buffer size.
Protected methodHalSetWriteBufferSize Sets a write buffer size.
Protected methodHalWrite Implements a hardware-dependent code that sends data to a connected device.
Protected methodInternalDisconnect The internal disconnect method. Disconnects from a connected remote device.
(Inherited from wclClientConnection)
Protected methodLeaveCS Leaves the connection 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 is received.
(Overrides wclClientConnectionMessageReceived(wclMessage))
Protected methodNotifyClosed Send a Disconnect notification message.
(Inherited from wclClientConnection)
Protected methodNotifyDataReceived Sends a data received notification message.
Protected methodPostMessage Places a message to the connection's message receiver queue.
(Inherited from wclCustomConnection)
Public methodSetReadBufferSize Sets a read buffer size.
Public methodSetWriteBufferSize Sets a write buffer size.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWrite Sends a data to a connected device.
Top
Events
 NameDescription
Public eventOnConnect The event is called when the connection operation to a remote device is completed.
(Inherited from wclClientConnection)
Public eventOnData The event is called when a data is received from a connected remote device.
Public eventOnDisconnect The event fires when the remote connected device has been disconnected.
(Inherited from wclClientConnection)
Top
See Also