Public Member Functions | |
def | __del__ |
def | __init__ |
def | close |
def | execute_command |
def | listen |
def | parse_response |
def | psubscribe |
def | punsubscribe |
def | reset |
def | subscribe |
def | unsubscribe |
Public Attributes | |
channels | |
connection | |
connection_pool | |
patterns | |
shard_hint | |
subscribe_commands | |
subscription_count |
PubSub provides publish, subscribe and listen support to Redis channels. After subscribing to one or more channels, the listen() method will block until a message arrives on one of the subscribed channels. That message will be returned and it's safe to start listening again.
def redis.client.PubSub.__init__ | ( | self, | |
connection_pool, | |||
shard_hint = None |
|||
) |
def redis.client.PubSub.__del__ | ( | self | ) |
def redis.client.PubSub.close | ( | self | ) |
def redis.client.PubSub.execute_command | ( | self, | |
args, | |||
kwargs | |||
) |
def redis.client.PubSub.listen | ( | self | ) |
def redis.client.PubSub.parse_response | ( | self | ) |
def redis.client.PubSub.psubscribe | ( | self, | |
patterns | |||
) |
def redis.client.PubSub.punsubscribe | ( | self, | |
patterns = [] |
|||
) |
def redis.client.PubSub.reset | ( | self | ) |
def redis.client.PubSub.subscribe | ( | self, | |
channels | |||
) |
def redis.client.PubSub.unsubscribe | ( | self, | |
channels = [] |
|||
) |