Get the I{default} port if defined in the I{options}. @return: A L{MethodSelector} for the I{default} port. @rtype: L{MethodSelector}.
(self)
| 465 | return MethodSelector(self.__client, port.methods, qn) |
| 466 | |
| 467 | def __dp(self): |
| 468 | """ |
| 469 | Get the I{default} port if defined in the I{options}. |
| 470 | @return: A L{MethodSelector} for the I{default} port. |
| 471 | @rtype: L{MethodSelector}. |
| 472 | """ |
| 473 | dp = self.__client.options.port |
| 474 | if dp is None: |
| 475 | return None |
| 476 | else: |
| 477 | return self.__find(dp) |
| 478 | |
| 479 | |
| 480 | class MethodSelector: |
no test coverage detected