@@ 2164-2190 (lines=27) @@ | ||
2161 | __repr__ = __str__ |
|
2162 | ||
2163 | ||
2164 | class DiscoveryConfiguration(FrozenClass): |
|
2165 | ''' |
|
2166 | A base type for discovery configuration information. |
|
2167 | ||
2168 | ''' |
|
2169 | def __init__(self, binary=None): |
|
2170 | if binary is not None: |
|
2171 | self._binary_init(binary) |
|
2172 | self._freeze = True |
|
2173 | return |
|
2174 | self._freeze = True |
|
2175 | ||
2176 | def to_binary(self): |
|
2177 | packet = [] |
|
2178 | return b''.join(packet) |
|
2179 | ||
2180 | @staticmethod |
|
2181 | def from_binary(data): |
|
2182 | return DiscoveryConfiguration(data) |
|
2183 | ||
2184 | def _binary_init(self, data): |
|
2185 | pass |
|
2186 | ||
2187 | def __str__(self): |
|
2188 | return 'DiscoveryConfiguration(' + + ')' |
|
2189 | ||
2190 | __repr__ = __str__ |
|
2191 | ||
2192 | ||
2193 | class MdnsDiscoveryConfiguration(FrozenClass): |
|
@@ 1033-1059 (lines=27) @@ | ||
1030 | __repr__ = __str__ |
|
1031 | ||
1032 | ||
1033 | class Union(FrozenClass): |
|
1034 | ''' |
|
1035 | This abstract DataType is the base DataType for all union DataTypes. |
|
1036 | ||
1037 | ''' |
|
1038 | def __init__(self, binary=None): |
|
1039 | if binary is not None: |
|
1040 | self._binary_init(binary) |
|
1041 | self._freeze = True |
|
1042 | return |
|
1043 | self._freeze = True |
|
1044 | ||
1045 | def to_binary(self): |
|
1046 | packet = [] |
|
1047 | return b''.join(packet) |
|
1048 | ||
1049 | @staticmethod |
|
1050 | def from_binary(data): |
|
1051 | return Union(data) |
|
1052 | ||
1053 | def _binary_init(self, data): |
|
1054 | pass |
|
1055 | ||
1056 | def __str__(self): |
|
1057 | return 'Union(' + + ')' |
|
1058 | ||
1059 | __repr__ = __str__ |
|
1060 | ||
1061 | ||
1062 | class TimeZoneDataType(FrozenClass): |
|
@@ 11582-11606 (lines=25) @@ | ||
11579 | __repr__ = __str__ |
|
11580 | ||
11581 | ||
11582 | class NotificationData(FrozenClass): |
|
11583 | ''' |
|
11584 | ''' |
|
11585 | def __init__(self, binary=None): |
|
11586 | if binary is not None: |
|
11587 | self._binary_init(binary) |
|
11588 | self._freeze = True |
|
11589 | return |
|
11590 | self._freeze = True |
|
11591 | ||
11592 | def to_binary(self): |
|
11593 | packet = [] |
|
11594 | return b''.join(packet) |
|
11595 | ||
11596 | @staticmethod |
|
11597 | def from_binary(data): |
|
11598 | return NotificationData(data) |
|
11599 | ||
11600 | def _binary_init(self, data): |
|
11601 | pass |
|
11602 | ||
11603 | def __str__(self): |
|
11604 | return 'NotificationData(' + + ')' |
|
11605 | ||
11606 | __repr__ = __str__ |
|
11607 | ||
11608 | ||
11609 | class DataChangeNotification(FrozenClass): |
|
@@ 9749-9773 (lines=25) @@ | ||
9746 | __repr__ = __str__ |
|
9747 | ||
9748 | ||
9749 | class MonitoringFilterResult(FrozenClass): |
|
9750 | ''' |
|
9751 | ''' |
|
9752 | def __init__(self, binary=None): |
|
9753 | if binary is not None: |
|
9754 | self._binary_init(binary) |
|
9755 | self._freeze = True |
|
9756 | return |
|
9757 | self._freeze = True |
|
9758 | ||
9759 | def to_binary(self): |
|
9760 | packet = [] |
|
9761 | return b''.join(packet) |
|
9762 | ||
9763 | @staticmethod |
|
9764 | def from_binary(data): |
|
9765 | return MonitoringFilterResult(data) |
|
9766 | ||
9767 | def _binary_init(self, data): |
|
9768 | pass |
|
9769 | ||
9770 | def __str__(self): |
|
9771 | return 'MonitoringFilterResult(' + + ')' |
|
9772 | ||
9773 | __repr__ = __str__ |
|
9774 | ||
9775 | ||
9776 | class EventFilterResult(FrozenClass): |
|
@@ 9531-9555 (lines=25) @@ | ||
9528 | __repr__ = __str__ |
|
9529 | ||
9530 | ||
9531 | class MonitoringFilter(FrozenClass): |
|
9532 | ''' |
|
9533 | ''' |
|
9534 | def __init__(self, binary=None): |
|
9535 | if binary is not None: |
|
9536 | self._binary_init(binary) |
|
9537 | self._freeze = True |
|
9538 | return |
|
9539 | self._freeze = True |
|
9540 | ||
9541 | def to_binary(self): |
|
9542 | packet = [] |
|
9543 | return b''.join(packet) |
|
9544 | ||
9545 | @staticmethod |
|
9546 | def from_binary(data): |
|
9547 | return MonitoringFilter(data) |
|
9548 | ||
9549 | def _binary_init(self, data): |
|
9550 | pass |
|
9551 | ||
9552 | def __str__(self): |
|
9553 | return 'MonitoringFilter(' + + ')' |
|
9554 | ||
9555 | __repr__ = __str__ |
|
9556 | ||
9557 | ||
9558 | class DataChangeFilter(FrozenClass): |
|
@@ 7995-8019 (lines=25) @@ | ||
7992 | __repr__ = __str__ |
|
7993 | ||
7994 | ||
7995 | class HistoryReadDetails(FrozenClass): |
|
7996 | ''' |
|
7997 | ''' |
|
7998 | def __init__(self, binary=None): |
|
7999 | if binary is not None: |
|
8000 | self._binary_init(binary) |
|
8001 | self._freeze = True |
|
8002 | return |
|
8003 | self._freeze = True |
|
8004 | ||
8005 | def to_binary(self): |
|
8006 | packet = [] |
|
8007 | return b''.join(packet) |
|
8008 | ||
8009 | @staticmethod |
|
8010 | def from_binary(data): |
|
8011 | return HistoryReadDetails(data) |
|
8012 | ||
8013 | def _binary_init(self, data): |
|
8014 | pass |
|
8015 | ||
8016 | def __str__(self): |
|
8017 | return 'HistoryReadDetails(' + + ')' |
|
8018 | ||
8019 | __repr__ = __str__ |
|
8020 | ||
8021 | ||
8022 | class ReadEventDetails(FrozenClass): |