Package tp :: Package netlib :: Package objects :: Module Header :: Class Processed
[show private | hide private]
[frames | no frames]

Type Processed

object --+    
         |    
    Header --+
             |
            Processed

Known Subclasses:
Account, Board, Category, Component, Connect, Describable, Description, Design, Fail, Feature, Feature_Get, Game, Games_Get, GetIDSequence, GetWithID, GetWithIDandSlot, IDSequence, Login, Message, Object_GetID_ByPos, OK, Ping, Player, Property, Redirect, Resource, Sequence, TimeRemaining, TimeRemaining_Get, TurnFinished

Base class for packets.

Method Summary
  __init__(self, sequence)
  __process__(self, data)
    Inherited from Header
  __eq__(self, other)
  __repr__(self)
Return a reconisable string.
  __str__(self)
Produce a string suitable to be send over the wire.
  data_set(self, data)
Processes the data of the packet.
  fromstr(cls, data)
Look at the packet type and morph this object into the correct type. (Class method)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...

Class Variable Summary
    Inherited from Header
int size = 16                                                                    
str struct = '4sIII'

Generated by Epydoc 2.1 on Fri Jan 1 08:00:25 2010 http://epydoc.sf.net