Conditions | 1 |
Total Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """ |
||
25 | def __init__(self, message_type): |
||
26 | """ |
||
27 | Object constructor. |
||
28 | """ |
||
29 | self._message_type = message_type |
||
30 | """ |
||
31 | The type of the message. |
||
32 | |||
33 | :type: str |
||
34 | """ |
||
35 | |||
36 | self.message_source = None |
||
37 | """ |
||
38 | For incoming messages the name of the source of the message. This field will be set by the message controller. |
||
39 | |||
40 | :type: str |
||
41 | """ |
||
42 | |||
66 |