Channel


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , since = "0.7.1" ) ]
public Channel (Connection conn, string object_path, string optional_channel_type, HandleType optional_handle_type, Handle optional_handle) throws Error

Warning: Channel is deprecated.

Note:

Use ensure_channel instead.

Parameters:

conn

a connection; may not be null

object_path

the object path of the channel; may not be null

optional_channel_type

the channel type if already known, or null if not

optional_handle_type

the handle type if already known, or UNKNOWN_HANDLE_TYPE if not

optional_handle

the handle if already known, or 0 if not (if optional_handle_type is UNKNOWN_HANDLE_TYPE or NONE, this must be 0)

Returns:

a new channel proxy, or null on invalid arguments.