TwclObexOppServerGetRequestEvent Delegate
The OBEX server data processor OnGetRequest
event handler
prototype.
type TwclObexOppServerGetRequestEvent = procedure(Sender: TObject; const aType: string; out Result: TwclObexServerOperationResult; out Stream: TStream) of object;
Parameters
- Sender
The object that initiated the event.
- aType
The requested OBEX object type.
- Result
An application must set this parameter to the operation result code. If an application can send the requested object the
Result
must be set toorSuccess
.- Stream
The requested OBEX object's data stream. An application must provide the object's stream only in case if the
Result
set toorSuccess
. In any other case theStream
must be set tonil
. The stream object passed to the event must be valid during all Get operation and can be released when theOnGetCompleted
event received.