Infinity.IoInterface

Fields

Name

Type

Access

Description

add_dispatch

object

r

Schedules func to be called by the thread the Infinity.Io runs in.

add_timeout

object

r

Schedules func to be called at least msecs milliseconds in the future.

add_watch

object

r

Watches a socket for events to occur in which case func is called.

parent

GObject.TypeInterface

r

remove_dispatch

object

r

Removes a scheduled dispatch. This can be called as long as the scheduled function has not yet been called.

remove_timeout

object

r

Removes a scheduled timeout again. The timeout is removed automatically when it has elapsed, so there is no need to call this function in that case.

remove_watch

object

r

Removes a watch on a socket.

update_watch

object

r

Updates a watch on a socket so that a different set of events is watched for.

Methods

None

Details

class Infinity.IoInterface

The virtual methods of Infinity.Io. These allow to set up socket watches, timeouts and function dispatchers. All of these functions need to be thread-safe.