Get the I{default} service if defined in the I{options}. @return: A L{PortSelector} for the I{default} service. @rtype: L{PortSelector}.
(self)
| 362 | return PortSelector(self.__client, service.ports, name) |
| 363 | |
| 364 | def __ds(self): |
| 365 | """ |
| 366 | Get the I{default} service if defined in the I{options}. |
| 367 | @return: A L{PortSelector} for the I{default} service. |
| 368 | @rtype: L{PortSelector}. |
| 369 | """ |
| 370 | ds = self.__client.options.service |
| 371 | if ds is None: |
| 372 | return None |
| 373 | else: |
| 374 | return self.__find(ds) |
| 375 | |
| 376 | |
| 377 | class PortSelector: |
no test coverage detected