Package spoon :: Package transports :: Module transports :: Class SpoonRPCHello
[show private | hide private]
[frames | no frames]

Type SpoonRPCHello

object --+    
         |    
    Serial --+
             |
            SpoonRPCHello


This object is sent as a very simple form of initial negotiation. It contains the nodeId and the protocol version (currently always 1.)
Method Summary
    Inherited from Serial
  __new__(cls, *args, **kwargs)
(Static method)
  decode_lazy(self)
Decode all of the attributes marked as lazy that have not yet been decoded.
  post_deserialize(self)
Called after an object is received over the network, instead of the normal __init__ method.
  pre_serialize(self)
Called right before this object's attributes are encoded into a stream for network travel.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
list _spoon_attrs = ['version', 'nodeId']
serialprop nodeId = <spoon.spoon.serialprop object at 0xa7c3568c>
serialprop version = <spoon.spoon.serialprop object at 0xa7c3572c>

Class Variable Details

_spoon_attrs

Type:
list
Value:
['version', 'nodeId']                                                  

nodeId

Type:
serialprop
Value:
<spoon.spoon.serialprop object at 0xa7c3568c>                          

version

Type:
serialprop
Value:
<spoon.spoon.serialprop object at 0xa7c3572c>                          

Generated by Epydoc 2.1 on Sun Nov 26 15:33:58 2006 http://epydoc.sf.net