Class

FwupdPluginIOChannel

Description [src]

final class FwupdPlugin.IOChannel : GObject.Object
{
  /* No available fields */
}

A bidirectional IO channel which can be read from and written to.

Hierarchy

hierarchy this FuIOChannel ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

fu_io_channel_new_file

Creates a new object to write and read from.

since: 1.2.2

fu_io_channel_unix_new

Creates a new object to write and read from.

since: 1.2.2

Instance methods

fu_io_channel_read_byte_array

Reads bytes from the TTY, that will fail if exceeding timeout_ms.

since: 1.3.2

fu_io_channel_read_bytes

Reads bytes from the TTY, that will fail if exceeding timeout_ms.

since: 1.2.2

fu_io_channel_read_raw

Reads bytes from the TTY, that will fail if exceeding timeout_ms.

since: 1.2.2

fu_io_channel_shutdown

Closes the file descriptor for the device if open.

since: 1.2.2

fu_io_channel_unix_get_fd

Gets the file descriptor for the device.

since: 1.2.2

fu_io_channel_write_byte_array

Writes bytes to the TTY, that will fail if exceeding timeout_ms.

since: 1.3.2

fu_io_channel_write_bytes

Writes bytes to the TTY, that will fail if exceeding timeout_ms.

since: 1.2.2

fu_io_channel_write_raw

Writes bytes to the TTY, that will fail if exceeding timeout_ms.

since: 1.2.2

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FwupdPluginIOChannelClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.