Package x2go :: Module mimeboxactions :: Class X2goMIMEboxAction
[frames] | no frames]

Class X2goMIMEboxAction

source code

object --+
         |
        X2goMIMEboxAction
Known Subclasses:

Instance Methods
 
__init__(self, client_instance=None, logger=None, loglevel=56)
This is a meta class and has no functionality as such.
source code
 
do_process(self, mimebox_file, mimebox_dir)
Perform the defined MIME box action (doing nothing in X2goMIMEboxAction parent class).
source code

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

Class Variables
  __name__ = 'NAME'
  __description__ = 'DESCRIPTION'
Properties
  name
Return the X2go MIME box action's name.
  description
Return the X2go MIME box action's description text.

Inherited from object: __class__

Method Details

__init__(self, client_instance=None, logger=None, loglevel=56)
(Constructor)

source code 

This is a meta class and has no functionality as such. It is used as parent class by »real« X2go MIME box actions.

Parameters:
  • client_instance (instance) - the underlying X2goClient instance
  • logger (instance) - you can pass an X2goLogger object to the X2goMIMEboxAction constructor
  • loglevel (int) - if no X2goLogger object has been supplied a new one will be constructed with the given loglevel
Overrides: object.__init__

do_process(self, mimebox_file, mimebox_dir)

source code 

Perform the defined MIME box action (doing nothing in X2goMIMEboxAction parent class).

Parameters:
  • mimebox_file (str) - file name as placed in to the X2go MIME box directory
  • mimebox_dir (str) - location of the X2go sessions's MIME box directory

Property Details

name

Return the X2go MIME box action's name.

Get Method:
unreachable.name() - Return the X2go MIME box action's name.

description

Return the X2go MIME box action's description text.

Get Method:
unreachable.description() - Return the X2go MIME box action's description text.