Channel
Object Hierarchy:
Description:
[ CCode ( type_id = "spice_channel_get_type ()" ) ]
public class Channel : Object
The Channel struct is opaque and should not be accessed directly.
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public virtual void channel_reset (bool migrating)
- public virtual void channel_send_migration_handshake ()
- public virtual void channel_up ()
- public bool connect ()
Connect the channel, using
Session connection informations
- public void destroy ()
Disconnect and unref the this.
- public void disconnect (ChannelEvent reason)
Close the socket and reset connection specific data.
- public async bool flush_async (Cancellable? cancellable) throws Error
Forces an asynchronous write of all user-space buffered data for the
given channel.
- public unowned Error get_error ()
Retrieves the Error currently set on
channel, if the Channel is in error state and can provide additional error details.
- public virtual void handle_msg (MsgIn msg)
- public virtual void iterate_read ()
- public virtual void iterate_write ()
- public void set_capability (uint32 cap)
Enable specific channel-kind capability.
- public bool test_capability (uint32 cap)
Test availability of remote "channel kind capability".
- public bool test_common_capability (uint32 cap)
Test availability of remote "common channel capability".
Signals:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref