Module indiclient :: Class indimessage
[show private | hide private]
[frames | no frames]

Class indimessage

indiobject --+
             |
            indimessage


a text message.
Method Summary
  __init__(self, attrs)
StringType get_text(self)
Return a text representing the message received
StringType is_valid(self)
Return True if the message is valid.
NoneType tell(self)
print the message to the screen
    Inherited from indiobject
StringType get_xml(self, transfertype)
Returns an XML representation of the object
NoneType update(self, attrs, tag)
Update this element with data received form the XML Parser.

Instance Variable Summary
StringType device: The INDI device the message belongs to.
StringType timestamp: The time when the message was send out by the INDI server
    Inherited from indiobject
indixmltag tag: The XML tag of the INDI object (see indixmltag).

Method Details

__init__(self, attrs)
(Constructor)

Parameters:
attrs - The attributes of the XML version of the INDI message.
           (type=DictType)
Overrides:
indiclient.indiobject.__init__

get_text(self)

Returns:
A text representing the message received
           (type=StringType)

is_valid(self)

Returns:
True if the message is valid.
           (type=StringType)
Overrides:
indiclient.indiobject.is_valid

tell(self)

print the message to the screen
Returns:
None
           (type=NoneType)

Instance Variable Details

device

The INDI device the message belongs to.
Type:
StringType

timestamp

The time when the message was send out by the INDI server
Type:
StringType

Generated by Epydoc 2.1 on Sat Sep 10 10:26:06 2005 http://epydoc.sf.net