Package tp :: Package netlib :: Package objects :: Module Base :: Class GetWithID
[show private | hide private]
[frames | no frames]

Type GetWithID

object --+        
         |        
    Header --+    
             |    
     Processed --+
                 |
                GetWithID

Known Subclasses:
Board_Get, Category_Get, Category_Remove, Component_Get, Design_Get, Design_Remove, Object_DescGet, Object_GetById, Object_GetID_ByContainer, OrderDesc_Get, Player_Get, Property_Get, Resource_Get

A Get with ID frame consist of:
        * a list of UInt32, IDs of the things requested

This packet is used to get things using their IDs. Such things would 
be objects, message boards, etc.

Method Summary
  __init__(self, sequence, ids)
  __str__(self)
Produce a string suitable to be send over the wire.
    Inherited from Processed
  __process__(self, data)
    Inherited from Header
  __eq__(self, other)
  __repr__(self)
Return a reconisable string.
  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
str struct = '[j]'
    Inherited from Header
int size = 16                                                                    

Instance Method Details

__str__(self)
(Informal representation operator)

Produce a string suitable to be send over the wire.
Overrides:
tp.netlib.objects.Header.Header.__str__ (inherited documentation)

Class Variable Details

struct

Type:
str
Value:
'[j]'                                                                  

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