两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 |
public:it:spice:codec-agent-trans [2022/02/28 10:52] – oakfire | public:it:spice:codec-agent-trans [2022/06/29 17:46] (当前版本) – [3.2 流程详解] oakfire |
---|
* spice-gtk 实现了一个 SpicePortChannel, 详细文档 https://www.spice-space.org/api/spice-gtk/SpicePortChannel.html | * spice-gtk 实现了一个 SpicePortChannel, 详细文档 https://www.spice-space.org/api/spice-gtk/SpicePortChannel.html |
* 增加对 glib 信号 ''SPICE_SESSION_CHANNEL_NEW'' ''channel-new''的处理函数,按类型与通道名来获知特定名字 portchannel 的建立,并进行初始化 | * 增加对 glib 信号 ''SPICE_SESSION_CHANNEL_NEW'' ''channel-new''的处理函数,按类型与通道名来获知特定名字 portchannel 的建立,并进行初始化 |
* 初始化时增加对该通道信号 port-event port-data 的处理函数, | * 初始化时增加对该通道信号 ''port-event'',''port-data'' 的处理函数, |
* 响应 ''port-event'' 用于获取通道打开关闭事件 | * 响应 ''port-event'' 用于获取通道打开关闭事件 |
* 响应 ''port-data'' 来接收数据 | * 响应 ''port-data'' 来接收数据 |
* 使用函数 ''spice_port_write_async'',''spice_port_write_finish'' 来进行发送数据 | * 使用函数 ''spice_port_write_async'',''spice_port_write_finish'' 来发送数据 |