PollableSource.full
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.34" ) ]
public PollableSource.full (Object pollable_stream, Source? child_source = null, Cancellable? cancellable = null)
[ Version ( since = "2.34" ) ]
public PollableSource.full (Object pollable_stream, Source? child_source = null, Cancellable? cancellable = null)
Utility method for PollableInputStream and PollableOutputStream implementations.
Creates a new SocketSource, as with
PollableSource, but also attaching child_source
(with a dummy callback), and cancellable
, if they are non-null.
Parameters:
pollable_stream |
the stream associated with the new source |
child_source |
optional child source to attach |
cancellable |
optional Cancellable to attach |
Returns:
the new SocketSource. |