Package muntjac :: Package addon :: Package google_maps :: Module google_map :: Class MarkerApplicationResource
[hide private]
[frames] | no frames]

Class MarkerApplicationResource

source code

                                    object --+        
                                             |        
                   terminal.resource.IResource --+    
                                                 |    
terminal.application_resource.IApplicationResource --+
                                                     |
                                                    MarkerApplicationResource

Instance Methods [hide private]
 
__init__(self, gmap, markerSource)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getApplication(self)
Gets the application of the resource.
source code
 
getBufferSize(self)
Gets the size of the download buffer used for this resource.
source code
 
getCacheTime(self)
Gets the length of cache expiration time.
source code
 
getFilename(self)
Gets the virtual filename for this resource.
source code
 
getStream(self)
Gets resource as stream.
source code
 
getMIMEType(self)
Gets the MIME type of the resource.
source code

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

Class Variables [hide private]

Inherited from terminal.application_resource.IApplicationResource: DEFAULT_CACHETIME

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, gmap, markerSource)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getApplication(self)

source code 

Gets the application of the resource.

Overrides: terminal.application_resource.IApplicationResource.getApplication
(inherited documentation)

getBufferSize(self)

source code 

Gets the size of the download buffer used for this resource.

If the buffer size is 0, the buffer size is decided by the terminal adapter. The default value is 0.

Returns:
the size of the buffer in bytes.
Overrides: terminal.application_resource.IApplicationResource.getBufferSize
(inherited documentation)

getCacheTime(self)

source code 

Gets the length of cache expiration time.

This gives the adapter the possibility cache streams sent to the client. The caching may be made in adapter or at the client if the client supports caching. Default is DEFAULT_CACHETIME.

Returns:
Cache time in milliseconds
Overrides: terminal.application_resource.IApplicationResource.getCacheTime
(inherited documentation)

getFilename(self)

source code 

Gets the virtual filename for this resource.

Returns:
the file name associated to this resource.
Overrides: terminal.application_resource.IApplicationResource.getFilename
(inherited documentation)

getStream(self)

source code 

Gets resource as stream.

Overrides: terminal.application_resource.IApplicationResource.getStream
(inherited documentation)

getMIMEType(self)

source code 

Gets the MIME type of the resource.

Returns:
the MIME type of the resource.
Overrides: terminal.resource.IResource.getMIMEType
(inherited documentation)