public abstract class ClusterPusher extends Object implements ClusterFactory
| 限定符和类型 | 字段和说明 |
|---|---|
protected io.netty.util.internal.logging.InternalLogger |
logger |
protected PriorityBlockingQueue<Pusher<Transportable>> |
queue |
QUEUE_CAPACITY| 构造器和说明 |
|---|
ClusterPusher() |
protected final io.netty.util.internal.logging.InternalLogger logger
protected PriorityBlockingQueue<Pusher<Transportable>> queue
protected abstract <T> boolean push(String channel, T d)
protected abstract void pushQueue()
public void kick(Session session)
kick 在接口中 ClusterFactorypublic void push(String recipient, Transportable data)
push 在接口中 ClusterFactoryCopyright © 2020–2023 The AIM Project. All rights reserved.