Interface
PurpleProtocolFileTransfer
unstable since: 3.0
Description [src]
interface Purple.ProtocolFileTransfer : Purple.Protocol
PurpleProtocolFileTransfer
provides methods for sending and receiving files.
Available since: 3.0
Prerequisite
In order to implement ProtocolFileTransfer, your type must inherit fromPurpleProtocol
.
Instance methods
purple_protocol_file_transfer_receive_async
Starts the process of receiving transfer
.
unstable since: 3.0
purple_protocol_file_transfer_receive_finish
Finishes a previous call to purple_protocol_file_transfer_receive_async()
and
gets the result.
unstable since: 3.0
purple_protocol_file_transfer_send_async
Starts the process of sending transfer
.
unstable since: 3.0
purple_protocol_file_transfer_send_finish
Finishes a previous call to purple_protocol_file_transfer_send_async()
and
gets the result.
unstable since: 3.0
Interface structure
struct PurpleProtocolFileTransferInterface {
void (* send_async) (
PurpleProtocolFileTransfer* protocol,
PurpleFileTransfer* transfer,
GAsyncReadyCallback callback,
gpointer data
);
gboolean (* send_finish) (
PurpleProtocolFileTransfer* protocol,
GAsyncResult* result,
GError** error
);
void (* receive_async) (
PurpleProtocolFileTransfer* protocol,
PurpleFileTransfer* transfer,
GAsyncReadyCallback callback,
gpointer data
);
gboolean (* receive_finish) (
PurpleProtocolFileTransfer* protocol,
GAsyncResult* result,
GError** error
);
}
No description available.
Interface members
send_async |
|
No description available. |
|
send_finish |
|
No description available. |
|
receive_async |
|
No description available. |
|
receive_finish |
|
No description available. |
Virtual methods
Purple.ProtocolFileTransfer.receive_async
Starts the process of receiving transfer
.
unstable since: 3.0
Purple.ProtocolFileTransfer.receive_finish
Finishes a previous call to purple_protocol_file_transfer_receive_async()
and
gets the result.
unstable since: 3.0
Purple.ProtocolFileTransfer.send_finish
Finishes a previous call to purple_protocol_file_transfer_send_async()
and
gets the result.
unstable since: 3.0