can_poll


Description:

public abstract bool can_poll ()

Checks if this is actually pollable.

Some classes may implement PollableInputStream but have only certain instances of that class be pollable. If this method returns false, then the behavior of other PollableInputStream methods is undefined.

For any given stream, the value returned by this method is constant; a stream cannot switch from pollable to non-pollable or vice versa.

Parameters:

this

a PollableInputStream.

Returns:

true if this is pollable, false if not.




2022 vala-language.org