Serial Framework C++ Edition

◆ DoGetRequest()

virtual void DoGetRequest ( const tstring &  Name,
const tstring &  Mime,
wclObexServerOperationResult Result,
CwclStream *&  Stream 
)
protectedvirtual

The method called when the GET request received from a OBEX OPP Client.

Parameters
NameThe requested OBEX object's name.
MimeThe requested OBEX object's MIME type.
ResultAn application must set this parameter to the operation result code. If an application can send the requested object the Result must be set to orSuccess.
StreamThe requested OBEX object's data stream. An application must provide the object's stream only in case if the Result set to orSuccess. In any other case the Stream must be set to NULL. The stream object passed to the event must be valid during all Get operation and can be released when the OnGetCompleted event received.
See also
wclObexServerOperationResult, CwclStream

Reimplemented in CwclObexOppServer.