Click or drag to resize

wclServerClientConnectionHalCommunicate Method

Implements a hardware-dependent code that communicate with a connected remote device.

Namespace: wclCommunication
Assembly: wclCommunication (in wclCommunication.dll) Version: 8.0.6.0
Syntax
protected virtual int HalCommunicate(
	wclAutoResetEvent Event
)

Parameters

Event  wclAutoResetEvent
The disconnect event object.

Return Value

Int32
If the method completed with success the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
A derived classe must override this method to provide a hardware-dependent implementation that exchanges data with a remote device. The method implementation must monitor the Event parameter state. The Event parameter is set to a signaled state if the Disconnect method was called and the method must terminate the communication.
See Also