Package horizons :: Package network :: Package packets
[hide private]
[frames] | no frames]

Package packets

source code


Version: 0.1

Submodules [hide private]

Classes [hide private]
  SafeUnpickler
NOTE: this is a security related method and may lead to execution of arbritary code if used in a wrong way
  packet
  cmd_ok
simple ok message
  cmd_error
  cmd_fatalerror
Functions [hide private]
 
unserialize(data, validate=False, protocol=0) source code
Variables [hide private]
  PICKLE_PROTOCOL = 2
  PICKLE_RECIEVE_FROM = 'server'
  PICKLE_SAFE = {'client': {'horizons.network.packets': set(['cm...
  __package__ = 'horizons.network.packets'
Variables Details [hide private]

PICKLE_SAFE

Value:
{'client': {'horizons.network.packets': set(['cmd_error',
                                             'cmd_fatalerror',
                                             'cmd_ok']),
            'horizons.network.packets.client': set(['cmd_changecolor',
                                                    'cmd_changename',
                                                    'cmd_chatmsg',
                                                    'cmd_creategame',
                                                    'cmd_joingame',
...