IRCDCCTransfer
Inherits: RefCounted < Object
Represents an active or pending Direct Client-to-Client file transfer.
Description
Handles the status, metrics, tracking, and port mapping logic required to initiate or receive an outgoing DCC SEND block over the networking protocol layer safely utilizing asynchronous connections.
Tutorials
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
accept() |
|
cancel() |
|
get_error_message() const |
|
get_progress() const |
|
get_resume_position() const |
|
reject() |
|
void |
set_resume_position(position: int) |
Enumerations
enum Type: 🔗
Type TYPE_FILE_SEND = 0
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_FILE_RECEIVE = 1
There is currently no description for this enum. Please help us by contributing one!
Type TYPE_CHAT = 2
There is currently no description for this enum. Please help us by contributing one!
enum Status: 🔗
Status DCC_STATUS_PENDING = 0
There is currently no description for this enum. Please help us by contributing one!
Status DCC_STATUS_CONNECTING = 1
There is currently no description for this enum. Please help us by contributing one!
Status DCC_STATUS_TRANSFERRING = 2
There is currently no description for this enum. Please help us by contributing one!
Status DCC_STATUS_COMPLETED = 3
There is currently no description for this enum. Please help us by contributing one!
Status DCC_STATUS_FAILED = 4
There is currently no description for this enum. Please help us by contributing one!
Status DCC_STATUS_CANCELLED = 5
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
int get_transferred()
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
Confirms an inbound request connection asynchronously by initializing an available receiver socket and commencing the binary byte stream buffer processing immediately.
Aborts an active byte transmission connection natively, closing underlying stream peers and socket structures to prevent further buffer leaking.
String get_error_message() const 🔗
Returns the error message.
Returns the calculated progression of the byte payload transition over the active stream, expressed as a generalized percentage.
int get_resume_position() const 🔗
Returns the resume position.
Returns reject.
void set_resume_position(position: int) 🔗
Sets the resume position. position - Position.