26 lines
711 B
Python
26 lines
711 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from typing import Self, Sequence, Any
|
|
from abc import ABC, abstractmethod
|
|
from Interfaces.Abstracts.HTTPServersAbstractInterface import HTTPServersAbstractInterface
|
|
|
|
class HTTPServersManagerInterface(ABC):
|
|
|
|
@abstractmethod
|
|
def update(self:Self) -> None:pass
|
|
|
|
@abstractmethod
|
|
def reset(self:Self) -> None:pass
|
|
|
|
@abstractmethod
|
|
def close(self:Self) -> None:pass
|
|
|
|
@abstractmethod
|
|
def add(self:Self, inputs:Any|None, overwrite:bool = False) -> None:pass
|
|
|
|
@abstractmethod
|
|
def remove(self:Self, names:str|Sequence[str]) -> None:pass
|
|
|
|
@abstractmethod
|
|
def get(self:Self, name:str) -> HTTPServersAbstractInterface|None:pass |