Click or drag to resize

wclClientConnection Class

The base client connections component.
Inheritance Hierarchy
SystemObject
  wclCommunicationwclCustomConnection
    wclCommunicationwclClientConnection
      wclCommunicationwclClientDataConnection

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

The wclClientConnection type exposes the following members.

Constructors
 NameDescription
Public methodwclClientConnection 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.
Protected propertyThreadId Gets the connection's thread ID.
(Inherited from wclCustomConnection)
Public propertyTimeout Gets and sets the connection timeout.
Top
Methods
 NameDescription
Protected methodCheckState The method checks is the connection state and raises the wclEConnectionActive exception when the connection is active.
(Overrides wclCustomConnectionCheckState)
Protected methodConnect Starts the connection operation to a remote device.
Public methodDisconnect Disconnects from the connected remote device.
Protected methodDoConnect Calls the OnConnect event.
Protected methodDoDisconnect Calls the OnDisconnect event.
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHalCommunicate Implements a hardware-dependent code that communicate with a connected remote device.
Protected methodHalConnect Implements a hardware-dependent code that connects to a remote device.
Protected methodHalDisconnect Implements a hardware-dependent code that disconnects from a connected remote device.
Protected methodInternalDisconnect The internal disconnect method. Disconnects from a connected remote device.
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 wclCustomConnectionMessageReceived(wclMessage))
Protected methodNotifyClosed Send a Disconnect notification message.
Protected methodPostMessage Places a message to the connection's message receiver queue.
(Inherited from wclCustomConnection)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventOnConnect The event is called when the connection operation to a remote device is completed.
Public eventOnDisconnect The event fires when the remote connected device has been disconnected.
Top
Remarks
The class provides the basic methods for client connections.
See Also