Bluetooth Framework C++ Edition

◆ DoDisconnect()

virtual void DoDisconnect ( CwclServerClientConnection *const  Client,
const int  Reason 
)
protectedvirtual

Fires the OnDisconnect event.

Parameters
ClientThe CwclServerClientConnection represents a remote connected client.
ReasonThe disconnection code. If the parameter is WCL_E_SUCCESS the connection was closed by the Disconnect call. Otherwise indicates the disconnection reason.
See also
CwclServerClientConnection