Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tcf-dev] (no subject)

Hi,
I'm implementing a new service which will send data to the service client, and planned
on using 'Streams' service for this.

So the new service in the current form, creates a Stream with virtual_stream_create,
setting access to VS_ENABLE_REMOTE_READ and a callback (call it 'cb_fun'), and starts sending data using
virtual_stream_add_data.

If there is a client of the service, I also have the following needs:
1. No data may be lost.
2. If the client cannot receive data in the same speed as the service produces data,
    I need a callback.

Is this scenario supported by Streams, and if so, how do I get my callback, or alternatively
a check that can be used to determine if the service can call virtual_stream_add_data
(if the client can receive) or, the client is not ready to receive if the flow should be halted.

Thanks,
Claes



----------------------------------------------------------------------
Intel Sweden AB
Registered Office: Isafjordsgatan 30B, 164 40 Kista, Stockholm, Sweden
Registration Number: 556189-6027

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



Back to the top