Get a validator instance for a specific protocol
(self, protocol: str, **kwargs)
| 50 | return list(self.validators.keys()) |
| 51 | |
| 52 | def get_validator(self, protocol: str, **kwargs): |
| 53 | """Get a validator instance for a specific protocol""" |
| 54 | if protocol not in self.validators: |
| 55 | raise ValueError(f"Protocol '{protocol}' not available. Available: {list(self.validators.keys())}") |
| 56 | |
| 57 | return self.validators[protocol](**kwargs) |
| 58 | |
| 59 | def get_all_default_ports(self) -> Dict[str, List[int]]: |
| 60 | """Get default ports for all protocols""" |