PollableSourceFunc


Description:

public delegate bool PollableSourceFunc (Object pollable_stream)

This is the function type of the callback used for the SocketSource returned by create_source and create_source.

Parameters:

pollable_stream

the PollableInputStream or PollableOutputStream

user_data

data passed in by the user.

Returns:

it should return false if the source should be removed.


Namespace: GLib
Package: gio-2.0