Class: Skype::FileTransfer

Inherits:
AbstractObject show all
Defined in:
lib/skype/filetransfer.rb

Constant Summary collapse

OBJECT_NAME =
"FILETRANSFER"

Instance Attribute Summary

Attributes included from AbstractObject::Get

#property2callback, #property2symbol

Instance Method Summary collapse

Methods inherited from AbstractObject

inherited, #initialize, new, notified, #to_s

Methods included from AbstractObject::Notify

#delNotify, #notified, #notify, #setNotify

Methods included from AbstractObject::Get

#def_parser, #notice

Methods included from AbstractObject::Invokers

#invoke_alter, #invoke_echo, #invoke_get, #invoke_one, #invoke_set

Constructor Details

This class inherits a constructor from Skype::AbstractObject

Instance Method Details

#get_bytes_per_secondObject Also known as: getBytesPerSecond



41
# File 'lib/skype/filetransfer.rb', line 41

def get_bytes_per_second() parse :bytes_per_second, invoke_get("BYTESPERSECOND") end

#get_bytes_transferredObject Also known as: getBytesTransferred



45
# File 'lib/skype/filetransfer.rb', line 45

def get_bytes_transferred() parse :bytes_transferred, invoke_get("BYTESTRANSFERRED") end

#get_failure_reasonObject Also known as: getFailureReason



13
# File 'lib/skype/filetransfer.rb', line 13

def get_failure_reason() invoke_get("FAILUREREASON") end

#get_file_pathObject Also known as: getFilePath



33
# File 'lib/skype/filetransfer.rb', line 33

def get_file_path() invoke_get("FILEPATH") end

#get_file_sizeObject Also known as: getFileSize



37
# File 'lib/skype/filetransfer.rb', line 37

def get_file_size() parse :file_size, invoke_get("FILESIZE") end

#get_finish_timeObject Also known as: getFinishTime



29
# File 'lib/skype/filetransfer.rb', line 29

def get_finish_time() parse :finish_time, invoke_get("FINISHTIME") end

#get_partnerObject Also known as: getPartner



17
# File 'lib/skype/filetransfer.rb', line 17

def get_partner() parse :partner, invoke_get("PARTNER_HANDLE") end

#get_partner_dispnameObject Also known as: getPartnerDispname



21
# File 'lib/skype/filetransfer.rb', line 21

def get_partner_dispname() invoke_get("PARTNER_DISPNAME") end

#get_start_timeObject Also known as: getStartTime



25
# File 'lib/skype/filetransfer.rb', line 25

def get_start_time() parse :start_time, invoke_get("STARTTIME") end

#get_statusObject Also known as: getStatus



9
# File 'lib/skype/filetransfer.rb', line 9

def get_status() invoke_get("STATUS") end

#get_typeObject Also known as: getType



5
# File 'lib/skype/filetransfer.rb', line 5

def get_type() invoke_get("TYPE") end