wclCustomObexServerDoConnect Method |
The method called when a remote client opens OBEX session
(connects).
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 7.9.6.0 (7.9.6.0)
Syntaxprotected virtual void DoConnect(
Guid Target,
Guid Who,
string Description
)
Protected Overridable Sub DoConnect (
Target As Guid,
Who As Guid,
Description As String
)
protected:
virtual void DoConnect(
Guid Target,
Guid Who,
String^ Description
)
Parameters
- Target Guid
- The requested target service/server ID.
- Who Guid
- The client's ID.
- Description String
- The connect operation's or client's
description.
Remarks A derived class must override this method to
accept or reject connection. The default implementation rejects
any connection requests.
To accept connection an implementation must call the
Accept method. To reject the connection request an
implementation must call the Reject method.
In case the Target and/or Who values were not
provided by a client the values of these parameters are
GUID_NULL. If the Description was not provided by a
client the value of this parameter is an empty
string.
See Also