phones :: p_lglg6190 :: mediadesc :: Class mediadesc
[hide private]
[frames] | no frames]

Class mediadesc

source code

                  object --+    
                           |    
prototypes.BaseProtogenClass --+
                               |
                              mediadesc

Instance Methods [hide private]
 
__delfield_dunno1(self) source code
 
__delfield_dunno2(self) source code
 
__delfield_filename(self) source code
 
__delfield_magic1(self) source code
 
__delfield_magic2(self) source code
 
__delfield_magic3(self) source code
 
__delfield_mimetype(self) source code
 
__delfield_totalsize(self) source code
 
__delfield_whoknows(self) source code
 
__delfield_whoknows2(self) source code
 
__getfield_dunno1(self) source code
 
__getfield_dunno2(self) source code
 
__getfield_filename(self) source code
 
__getfield_magic1(self) source code
 
__getfield_magic2(self) source code
 
__getfield_magic3(self) source code
 
__getfield_mimetype(self) source code
 
__getfield_totalsize(self) source code
 
__getfield_whoknows(self) source code
 
__getfield_whoknows2(self) source code
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__setfield_dunno1(self, value) source code
 
__setfield_dunno2(self, value) source code
 
__setfield_filename(self, value) source code
 
__setfield_magic1(self, value) source code
 
__setfield_magic2(self, value) source code
 
__setfield_magic3(self, value) source code
 
__setfield_mimetype(self, value) source code
 
__setfield_totalsize(self, value) source code
 
__setfield_whoknows(self, value) source code
 
__setfield_whoknows2(self, value) source code
 
_update(self, args, kwargs) source code
 
containerelements(self) source code
 
getfields(self) source code
 
iscontainer(self)
Do we contain fields?
source code
 
readfrombuffer(self, buf, autolog=True, logtitle='<read data>')
Reads this packet from the supplied buffer
source code
 
writetobuffer(self, buf, autolog=True, logtitle='<written data>')
Writes this packet to the supplied buffer
source code

Inherited from prototypes.BaseProtogenClass: autologread, autologwrite, getvalue, packetsize, packetspan, update

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

Class Variables [hide private]
  __fields = ['totalsize', 'dunno1', 'magic1', 'magic2', 'magic3...
Properties [hide private]
  dunno1
  dunno2
  filename
  magic1
probably the file date (created)
  magic2
probably the file date (accessed)
  magic3
probably the file date (modified)
  mimetype
  totalsize
media file size with size of this file (152 bytes) added
  whoknows
set to iso8859_1 in some cases??
  whoknows2

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

_update(self, args, kwargs)

source code 
Overrides: prototypes.BaseProtogenClass._update

iscontainer(self)

source code 

Do we contain fields?

Overrides: prototypes.BaseProtogenClass.iscontainer
(inherited documentation)

readfrombuffer(self, buf, autolog=True, logtitle='<read data>')

source code 

Reads this packet from the supplied buffer

Overrides: prototypes.BaseProtogenClass.readfrombuffer

writetobuffer(self, buf, autolog=True, logtitle='<written data>')

source code 

Writes this packet to the supplied buffer

Overrides: prototypes.BaseProtogenClass.writetobuffer

Class Variable Details [hide private]

__fields

Value:
['totalsize',
 'dunno1',
 'magic1',
 'magic2',
 'magic3',
 'dunno2',
 'filename',
 'whoknows',
...

Property Details [hide private]

dunno1

Get Method:
__getfield_dunno1(self)
Set Method:
__setfield_dunno1(self, value)
Delete Method:
__delfield_dunno1(self)

dunno2

Get Method:
__getfield_dunno2(self)
Set Method:
__setfield_dunno2(self, value)
Delete Method:
__delfield_dunno2(self)

filename

Get Method:
__getfield_filename(self)
Set Method:
__setfield_filename(self, value)
Delete Method:
__delfield_filename(self)

magic1

probably the file date (created)

Get Method:
__getfield_magic1(self)
Set Method:
__setfield_magic1(self, value)
Delete Method:
__delfield_magic1(self)

magic2

probably the file date (accessed)

Get Method:
__getfield_magic2(self)
Set Method:
__setfield_magic2(self, value)
Delete Method:
__delfield_magic2(self)

magic3

probably the file date (modified)

Get Method:
__getfield_magic3(self)
Set Method:
__setfield_magic3(self, value)
Delete Method:
__delfield_magic3(self)

mimetype

Get Method:
__getfield_mimetype(self)
Set Method:
__setfield_mimetype(self, value)
Delete Method:
__delfield_mimetype(self)

totalsize

media file size with size of this file (152 bytes) added

Get Method:
__getfield_totalsize(self)
Set Method:
__setfield_totalsize(self, value)
Delete Method:
__delfield_totalsize(self)

whoknows

set to iso8859_1 in some cases??

Get Method:
__getfield_whoknows(self)
Set Method:
__setfield_whoknows(self, value)
Delete Method:
__delfield_whoknows(self)

whoknows2

Get Method:
__getfield_whoknows2(self)
Set Method:
__setfield_whoknows2(self, value)
Delete Method:
__delfield_whoknows2(self)