Files @ b42cb1ea1d20
Branch filter:

Location: light9/stubs/txzmq/connection.pyi - annotation

drewp@bigasterisk.com
rm - we don't do a kernel module anymore; just usb api
# 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:
    def __init__(self, type: str, address: str): ...

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: ...