Get information about this validator
(cls)
| 139 | |
| 140 | @classmethod |
| 141 | def get_validator_info(cls): |
| 142 | """Get information about this validator""" |
| 143 | return { |
| 144 | 'name': cls.__name__, |
| 145 | 'protocol': cls.__name__.replace('Validator', '').upper(), |
| 146 | 'description': cls.__doc__ or f"{cls.__name__} protocol validator", |
| 147 | 'default_ports': cls().get_default_ports() if hasattr(cls, 'get_default_ports') else [] |
| 148 | } |
| 149 | |
| 150 | |
| 151 | # Example template for creating new validators |
nothing calls this directly
no test coverage detected