def __init__(self, channel, queued):
"""
@param channel: the channel we're connected to.
@param queued: are we in the request queue, or can we start writing to
the transport?
"""
self.notifications = []
self.channel = channel
self.queued = queued
...
频道似乎可以直接在
Request
上使用。考虑Request.__init__
:self.channel = channel
似乎正是您要找的。在相关问题 更多 >
编程相关推荐