Package Skype4Py :: Package api :: Class Command
[frames] | no frames]

Class Command

source code

object --+
         |
        Command

Represents an API command. Use Skype.Command to instantiate.

To send a command to Skype, use Skype.SendCommand.

Instance Methods
 
__init__(self, Command, Expected=u'', Blocking=False, Timeout=30000, Id=-1)
Use Skype.Command to instantiate the object instead of doing it directly.
source code
 
__repr__(self)
repr(x)
source code
 
timeout2float(self)
A wrapper for api.timeout2float function.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables
bool Blocking
If set to True, Skype.SendCommand will block until the reply is received.
unicode Command
Command string.
unicode Expected
Expected reply.
int Id
Command Id.
unicode Reply
Reply after the command has been sent and Skype has replied.
int Timeout
Timeout if Blocking == True.
Properties

Inherited from object: __class__

Method Details

__init__(self, Command, Expected=u'', Blocking=False, Timeout=30000, Id=-1)
(Constructor)

source code 
Use Skype.Command to instantiate the object instead of doing it directly.
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

timeout2float(self)

source code 
A wrapper for api.timeout2float function. Returns the converted Timeout property.