Module mobilecodemanager :: Class MobileCodeManager
[hide private]
[frames] | no frames]

Class MobileCodeManager

source code


Instance Methods [hide private]
 
__init__(self, worker)
Creates a new instance of MobileCodeManager, which is responsible for moving mobile codes between application server and clients.
source code
 
clearCaches(self)
Clears internal caches used in mobile code manager.
source code
 
pathMD5(self, distribution, path)
Computes MD5 for a group of files.
source code
 
pathPackage(self, distribution, path)
Returns compressed package data for the given distribution and path.
source code
 
_fileList(self, distribution, path)
Returns a list of files under distribution distribution requested by path.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, worker)
(Constructor)

source code 

Creates a new instance of MobileCodeManager, which is responsible for moving mobile codes between application server and clients.

Parameters:
  • worker - Parent worker of this manager.
Overrides: object.__init__

pathMD5(self, distribution, path)

source code 

Computes MD5 for a group of files.

Parameters:
  • distribution (string) - String that represents the distribution name.
  • path (string) - Directory name that will be exported as mobile code. This should be in UNIX semantics.

pathPackage(self, distribution, path)

source code 

Returns compressed package data for the given distribution and path.

Parameters:
  • distribution (string) - String that represents the distribution name.
  • path (string) - Directory name that will be exported as mobile code. This should be in UNIX semantics.

_fileList(self, distribution, path)

source code 

Returns a list of files under distribution distribution requested by path. List is ordered according to file name. UNIX file semantics are used for representing file names.

Parameters:
  • distribution (string) - String that represents the distribution name.
  • path (string) - Directory name that will be exported as mobile code. This should be in UNIX semantics.