diff --git a/stubs/txzmq/connection.pyi b/stubs/txzmq/connection.pyi new file mode 100644 --- /dev/null +++ b/stubs/txzmq/connection.pyi @@ -0,0 +1,42 @@ +# Stubs for txzmq.connection (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional + +ZMQ3: Any + +class ZmqEndpointType: + bind: str = ... + connect: str = ... + +class ZmqEndpoint: ... + +class ZmqConnection: + socketType: Any = ... + allowLoopbackMulticast: bool = ... + multicastRate: int = ... + highWaterMark: int = ... + tcpKeepalive: int = ... + tcpKeepaliveCount: int = ... + tcpKeepaliveIdle: int = ... + tcpKeepaliveInterval: int = ... + reconnectInterval: int = ... + reconnectIntervalMax: int = ... + factory: Any = ... + endpoints: Any = ... + identity: Any = ... + socket: Any = ... + queue: Any = ... + recv_parts: Any = ... + read_scheduled: Any = ... + fd: Any = ... + def __init__(self, factory: Any, endpoint: Optional[Any] = ..., identity: Optional[Any] = ...) -> None: ... + def addEndpoints(self, endpoints: Any) -> None: ... + def shutdown(self) -> None: ... + def fileno(self): ... + def connectionLost(self, reason: Any) -> None: ... + def doRead(self) -> None: ... + def logPrefix(self): ... + def send(self, message: Any) -> None: ... + def messageReceived(self, message: Any) -> None: ...