Re: [PATCH 2/2] obexd: Add support for retrieving messages in fractions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christian,

On Thu, Feb 28, 2013 at 5:24 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> Hi Christian,
>
> On Thu, Feb 28, 2013 at 5:08 PM, Christian Fetzer
> <christian.fetzer@xxxxxxxxxxxxxxxx> wrote:
>> From: Christian Fetzer <christian.fetzer@xxxxxxxxxxxx>
>>
>> Fractioned messages can be requested if the reception_status is fractioned.
>> For requesting Message.Get has been extended with a FractionRequest
>> parameter that can be set to 'first' or 'next'.
>> After a part of the message has been transfered, the client can query
>> the message's properties. The property FractionDelivery is set to 'more'
>> or 'last' depending if more fractions exist or not.
>
> There is an import part missing in the description, the use case where
> this is necessary, I don't see how this can be useful, or it is just
> to show parts of the messages?

So from the discussion the IRC yesterday I think we can have this
transparently handled by the transfer, we can perhaps add
Suspend/Resume and suspended state API to Transfer interface which
probably in this case should auto suspend if FractionDelivery is set
so the application has to resume to get the parts but they all belong
to the same transfer and are saved in the same file.

--
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux