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': {}, 'server': {},}