Click or drag to resize

wclServerClientConnection Class

The base class for all server client connection.
Inheritance Hierarchy
SystemObject
  wclCommunicationwclCustomConnection
    wclCommunicationwclServerClientConnection
      wclCommunicationwclServerClientDataConnection

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

The wclServerClientConnection type exposes the following members.

Constructors
 NameDescription
Public methodwclServerClientConnection Creates a new server client connection.
Top
Properties
 NameDescription
Protected propertyDisconnected Gets the connection state.
Protected propertyParams Custom connection parameters.
Public propertyReceiver Gets the connection message receiver object.
(Inherited from wclCustomConnection)
Public propertyServer Gets the client owner.
Public propertyThreadId Gets the connection's thread ID.
(Inherited from wclCustomConnection)
Top
Methods
 NameDescription
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 methodHalAccept Hardware-dependent method that prepares to communicate with a connected remote client device.
Protected methodHalCommunicate Implements a hardware-dependent code that communicate with the connected remote device.
Protected methodHalDisconnect Implements a hardware-dependent code that disconnects from the 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 for a remote device has been accepted.
Public eventOnDisconnect The event fires when the remote connected device has been disconnected.
Top
Remarks
The class provides the basic methods for server connections.
See Also