wip 7
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from typing import Optional
|
||||
|
||||
from twisted.internet.endpoints import _WrappingProtocol
|
||||
from twisted.internet.protocol import Protocol
|
||||
from zope.interface import Interface, implementer
|
||||
|
||||
|
||||
@@ -20,6 +20,10 @@ class IProtocol(Interface):
|
||||
pass
|
||||
|
||||
|
||||
class _WrappingProtocol(Protocol):
|
||||
pass
|
||||
|
||||
|
||||
class IProtocolFactory(Interface):
|
||||
def buildProtocol(addr: IAddress) -> Optional[IProtocol]:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user