Package grassyknoll :: Package concurrent :: Module Message :: Class Message
[hide private]

Class Message

source code


a message

Instance Methods [hide private]
 
__init__(self, payload, re_id=None, reply_box=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Instance Variables [hide private]
integer id
a unique identifier for this message
object payload
the contents of the message
integer re_id
the id of the Message this is a response to.
MailBox.MailBox reply_box
where responses for this message should be sent to.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, payload, re_id=None, reply_box=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)

Instance Variable Details [hide private]

re_id

the id of the Message this is a response to. May be None
Type:
integer

reply_box

where responses for this message should be sent to. May be None.
Type:
MailBox.MailBox