Package lacewing :: Package packetloaders :: Module server :: Class Response
[frames] | no frames]

Class Response

source code

            object --+    
                     |    
baseloader._BaseLoader --+
                         |
                        Response

Instance Methods
 
read(self, data)
Parses 'data' and sets the properties of the packetloader.
source code
 
addPeer(self, name, id, isMaster) source code
 
generate(self)
Generate the raw representation of the packetloader.
source code

Inherited from baseloader._BaseLoader: __init__, initialize, new

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

Class Variables
  response = None
hash(x)
  success = None
hash(x)
  welcome = None
hash(x)
  name = None
hash(x)
  isMaster = None
hash(x)
  channel = None
hash(x)
  peers = None
hash(x)
  channels = None
hash(x)
  playerId = None
hash(x)
  value = None
hash(x)
  id = 0
Properties

Inherited from object: __class__

Method Details

read(self, data)

source code 

Parses 'data' and sets the properties of the packetloader.

Overrides: baseloader._BaseLoader.read
(inherited documentation)

generate(self)

source code 

Generate the raw representation of the packetloader.

Overrides: baseloader._BaseLoader.generate
(inherited documentation)