port_write_async
Description:
[ Version ( deprecated = true , deprecated_since = "0.35" , since = "0.15" ) ]
public async ssize_t port_write_async (PortChannel port, uint8[] buffer, Cancellable? cancellable) throws Error
Warning: port_write_async is deprecated since 0.35.
Request an asynchronous write of count bytes from buffer into the port.
Note:
use write_async instead.
When the operation is finished callback will be called. You can then call port_write_async.end to get
the result of the operation.
Parameters:
| port | |
| buffer |
the buffer containing the data to write |
| cancellable |
optional GCancellable object, NULL to ignore |
| callback |
callback to call when the request is satisfied |
| count |
the number of bytes to write |
| user_data |
the data to pass to callback function |
Namespace: Spice
Package: spice-client-glib-2.0