Package lacewing :: Package packetloaders :: Module peermessage :: Class SendPrivate
[frames] | no frames]

Class SendPrivate

source code

            object --+    
                     |    
baseloader._BaseLoader --+
                         |
 common._DataTypeMixin --+
                         |
                        SendPrivate

This is used by the client to send a message to a specific recipient.

Instance Methods
 
read(self, data)
Parses 'data' and sets the properties of the packetloader.
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__

Inherited from common._DataTypeMixin: generateMessage, getDataType, readMessage, setDataType

Class Variables
  packetId = 20
Instance Variables
  channelId = None
The channel ID
  subchannel = None
The subchannel of the message
  recipientId = None
The destinated recipient ID
str or number value = None
The message contents.
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)