TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | Private Attributes | List of all members
indiclient.indimessage Class Reference
Inheritance diagram for indiclient.indimessage:
Inheritance graph
Collaboration diagram for indiclient.indimessage:
Collaboration graph

Public Member Functions

def __init__ (self, attrs)
 
def tell (self)
 
def get_text (self)
 
def is_valid (self)
 
- Public Member Functions inherited from indiclient.indiobject
def __init__ (self, attrs, tag)
 
def is_valid (self)
 
def get_xml (self, transfertype)
 
def update (self, attrs, tag)
 

Public Attributes

 device
 
 timestamp
 
- Public Attributes inherited from indiclient.indiobject
 tag
 

Private Attributes

 _value
 

Detailed Description

a text message.
@ivar device:  The INDI device the message belongs to. 
@type device: StringType
@ivar timestamp: The time when the message was send out by the INDI server
@type timestamp: StringType
@ivar _value: The INDI message send by the server
@type _value: StringType

Constructor & Destructor Documentation

◆ __init__()

def indiclient.indimessage.__init__ (   self,
  attrs 
)
@param attrs: The attributes of the XML version of the INDI message.
@type attrs: DictType

Member Function Documentation

◆ get_text()

def indiclient.indimessage.get_text (   self)
@return: A text representing the message received
@rtype: StringType

◆ is_valid()

def indiclient.indimessage.is_valid (   self)
@return: C{True} if the message is valid.
@rtype: StringType

◆ tell()

def indiclient.indimessage.tell (   self)
print the message to the screen
@return: B{None}
@rtype: NoneType

Member Data Documentation

◆ _value

indiclient.indimessage._value
private

◆ device

indiclient.indimessage.device

◆ timestamp

indiclient.indimessage.timestamp

The documentation for this class was generated from the following file: