Click or drag to resize

wclClientConnection Class

The base class for all client oriented connections.
Inheritance Hierarchy

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

The wclClientConnection type exposes the following members.

Constructors
 NameDescription
Public methodwclClientConnection Creates a new client connection.
Top
Properties
 NameDescription
Public propertyReceiver Gets the connection message receiver object.
(Inherited from wclCustomConnection)
Public propertyState Gets the connection state.
Public propertyThreadId Gets the connection's thread ID.
(Inherited from wclCustomConnection)
Public propertyTimeout Gets the connect timeout value.
Top
Methods
 NameDescription
Public methodConnect Connects to a remote device.
Public methodDisconnect Disconnects from the connected remote device.
Protected methodDoConnect Fires the OnConnect event.
Protected methodDoDisconnect Fires the OnDisconnect event.
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.
(Overrides ObjectFinalize)
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 the 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 the connected remote device.
Protected methodInternalDisconnect The internal disconnect method. Disconnects from a connected remote device.
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 wclCustomConnectionMessageReceived(wclMessage))
Protected methodNotifyClosed Send a Disconnect notification message.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventOnConnect The event fires when a connection to a remote device has been completed (with or without success).
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