跳转到正文

packet_waiters API ​

完整接口目录 · 协议包用法 · 工具包下载

模块说明 ​

text
Bounded synchronous next-packet waits; no threads or packet history owned.

The domain closes admission before joining ingress and business threads.
Timeout and close return None, including indefinite (timeout=-1) waits.

PacketWaiters ​

python
class PacketWaiters

PacketWaiters.LIMIT ​

python
LIMIT = 64

PacketWaiters.__init__ ​

python
def __init__(self)

PacketWaiters.wait ​

python
def wait(self, packet_id, timeout=30)

PacketWaiters.deliver ​

python
def deliver(self, packet_id, packet)

PacketWaiters.close ​

python
def close(self)

Neomega · 使用、开发与参考文档