Package tp :: Package netlib :: Package objects :: Package OrderExtra :: Module NOp :: Class NOp
[show private | hide private]
[frames | no frames]

Type NOp

object --+                
         |                
    Header --+            
             |            
     Processed --+        
                 |        
       Describable --+    
                     |    
                 Order --+
                         |
                        NOp


A do no nothing order.

Method Summary
  __init__(self, sequence, id, slot, type, turns, resources, wait, maximum)
  __str__(self)
Produce a string suitable to be send over the wire.
    Inherited from Order
  __repr__(self)
Return a reconisable string.
    Inherited from Describable
  __process__(self, data, **kw)
    Inherited from Header
  __eq__(self, other)
  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
list names = [('wait', 1)]
str substruct = 'Ij'
int subtype = 0                                                                     
str wait__doc__ = 'Number of turns to wait for.'
    Inherited from Order
int no = 11                                                                    
str struct = 'IjIj [II]'
    Inherited from Header
dict mapping = {0: <class 'objects.OK.OK'>, 1: <class 'object...
int size = 16                                                                    

Instance Method Details

__str__(self)
(Informal representation operator)

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

Class Variable Details

names

Type:
list
Value:
[('wait', 1)]                                                          

substruct

Type:
str
Value:
'Ij'                                                                   

subtype

Type:
int
Value:
0                                                                     

wait__doc__

Type:
str
Value:
'Number of turns to wait for.'                                         

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