Click or drag to resize

wclServerClientDataConnection Class

The base class for the server 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 wclServerClientDataConnection : wclServerClientConnection

The wclServerClientDataConnection type exposes the following members.

Constructors
 NameDescription
Public methodwclServerClientDataConnection Creates a new server client data connection.
Top
Properties
 NameDescription
Protected propertyDisconnected Gets the connection state.
(Inherited from wclServerClientConnection)
Protected propertyParams Custom connection parameters.
(Inherited from wclServerClientConnection)
Public propertyProcessor Gets the current Data Processor object assigned to the Connection.
Public propertyReceiver Gets the connection message receiver object.
(Inherited from wclCustomConnection)
Public propertyServer Gets the client owner.
(Inherited from wclServerClientConnection)
Public propertyThreadId Gets the connection's thread ID.
(Inherited from wclCustomConnection)
Top
Methods
 NameDescription
Public methodDisconnect Disconnects from the connected remote device.
(Inherited from wclServerClientConnection)
Protected methodDoConnect Fires the OnConnect event.
(Inherited from wclServerClientConnection)
Protected methodDoData Fires the OnData event.
Protected methodDoDisconnect Fires the OnDisconnect event.
(Inherited from wclServerClientConnection)
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 wclServerClientConnection)
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 methodHalAccept Hardware-dependent method that prepares to communicate with a connected remote client device.
(Inherited from wclServerClientConnection)
Protected methodHalCommunicate Implements a hardware-dependent code that communicate with the connected remote device.
(Inherited from wclServerClientConnection)
Protected methodHalDisconnect Implements a hardware-dependent code that disconnects from the connected remote device.
(Inherited from wclServerClientConnection)
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 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 wclServerClientConnectionMessageReceived(wclMessage))
Protected methodNotifyClosed Send a Disconnect notification message.
(Inherited from wclServerClientConnection)
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 for a remote device has been accepted.
(Inherited from wclServerClientConnection)
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 wclServerClientConnection)
Top
See Also