view stubs/txzmq/connection.pyi @ 2078:2c48e92ad5d3

make loadtest real enough to cause numbers to change on collector's web view
author drewp@bigasterisk.com
date Tue, 24 May 2022 01:21:32 -0700
parents 4ce991cdacdb
children
line wrap: on
line source

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