listen


Description:

public bool listen (List<FeedChannel> feeds)

To set the list of feeds to be managed by this.

The previous list, if any, is invalidated. After invokation to the function, @switch must be call to run the subscription. The list in feeds can be freed after calling this; linked FeedChannel are g_object_ref'd here.

Parameters:

this

a FeedsSubscriber.

feeds

a list of FeedChannel.

Returns:

true if all FeedChannels involved in feeds are valid and can be listened with one of the implemented procotols, false otherwise.