(self, aprotocol)
| 48 | self.__decoded_protocol = protocol |
| 49 | |
| 50 | def get_protocol(self, aprotocol): |
| 51 | protocol = self.__decoded_protocol |
| 52 | while protocol: |
| 53 | if protocol.__class__ == aprotocol: |
| 54 | break |
| 55 | protocol=protocol.child() |
| 56 | return protocol |
| 57 | |
| 58 | def __str__(self): |
| 59 | protocol = self.__decoded_protocol |