跳过导航链接
A C D E G H I J L M O P R S T V W 

A

AbstractMessageDistributor - com.hccake.ballcat.common.websocket.distribute中的类
 
AbstractMessageDistributor(WebSocketSessionStore) - 类 的构造器com.hccake.ballcat.common.websocket.distribute.AbstractMessageDistributor
 
addHandler(JsonMessageHandler<JsonWebSocketMessage>) - 类 中的静态方法com.hccake.ballcat.common.websocket.holder.JsonMessageHandlerHolder
 
addMessageListener() - 类 中的方法com.hccake.ballcat.common.websocket.distribute.RedisMessageListenerInitializer
 
addSession(WebSocketSession) - 类 中的方法com.hccake.ballcat.common.websocket.session.DefaultWebSocketSessionStore
添加一个 wsSession
addSession(WebSocketSession) - 接口 中的方法com.hccake.ballcat.common.websocket.session.WebSocketSessionStore
添加一个 session
afterConnectionClosed(WebSocketSession, CloseStatus) - 类 中的方法com.hccake.ballcat.common.websocket.session.MapSessionWebSocketHandlerDecorator
websocket 关闭连接时执行的动作
afterConnectionEstablished(WebSocketSession) - 类 中的方法com.hccake.ballcat.common.websocket.session.MapSessionWebSocketHandlerDecorator
websocket 连接时执行的动作

C

CHANNEL - 类 中的静态变量com.hccake.ballcat.common.websocket.distribute.RedisMessageDistributor
 
com.hccake.ballcat.common.websocket - 程序包 com.hccake.ballcat.common.websocket
 
com.hccake.ballcat.common.websocket.distribute - 程序包 com.hccake.ballcat.common.websocket.distribute
 
com.hccake.ballcat.common.websocket.exception - 程序包 com.hccake.ballcat.common.websocket.exception
 
com.hccake.ballcat.common.websocket.handler - 程序包 com.hccake.ballcat.common.websocket.handler
 
com.hccake.ballcat.common.websocket.holder - 程序包 com.hccake.ballcat.common.websocket.holder
 
com.hccake.ballcat.common.websocket.message - 程序包 com.hccake.ballcat.common.websocket.message
 
com.hccake.ballcat.common.websocket.session - 程序包 com.hccake.ballcat.common.websocket.session
 
ConcurrentWebSocketSessionOptions - com.hccake.ballcat.common.websocket.handler中的类
并发使用 WebSocketSession 的相关配置
ConcurrentWebSocketSessionOptions() - 类 的构造器com.hccake.ballcat.common.websocket.handler.ConcurrentWebSocketSessionOptions
 
CustomWebSocketHandler - com.hccake.ballcat.common.websocket.handler中的类
 
CustomWebSocketHandler() - 类 的构造器com.hccake.ballcat.common.websocket.handler.CustomWebSocketHandler
 
CustomWebSocketHandler(PlanTextMessageHandler) - 类 的构造器com.hccake.ballcat.common.websocket.handler.CustomWebSocketHandler
 

D

DefaultWebSocketSessionStore - com.hccake.ballcat.common.websocket.session中的类
默认的 WebSocketSession 存储器
DefaultWebSocketSessionStore(SessionKeyGenerator) - 类 的构造器com.hccake.ballcat.common.websocket.session.DefaultWebSocketSessionStore
 
distribute(MessageDO) - 类 中的方法com.hccake.ballcat.common.websocket.distribute.LocalMessageDistributor
消息分发
distribute(MessageDO) - 接口 中的方法com.hccake.ballcat.common.websocket.distribute.MessageDistributor
消息分发
distribute(MessageDO) - 类 中的方法com.hccake.ballcat.common.websocket.distribute.RedisMessageDistributor
消息分发
distribute(MessageDO) - 类 中的方法com.hccake.ballcat.common.websocket.distribute.RocketmqMessageDistributor
消息分发
doSend(MessageDO) - 类 中的方法com.hccake.ballcat.common.websocket.distribute.AbstractMessageDistributor
对当前服务中的 websocket 连接做消息推送

E

ErrorJsonMessageException - com.hccake.ballcat.common.websocket.exception中的异常错误
错误的 json 消息
ErrorJsonMessageException(String) - 异常错误 的构造器com.hccake.ballcat.common.websocket.exception.ErrorJsonMessageException
 

G

getHandler(String) - 类 中的静态方法com.hccake.ballcat.common.websocket.holder.JsonMessageHandlerHolder
 
getMessageClass() - 接口 中的方法com.hccake.ballcat.common.websocket.handler.JsonMessageHandler
当前处理器对应的消息Class
getMessageClass() - 类 中的方法com.hccake.ballcat.common.websocket.handler.PingJsonMessageHandler
 
getSessionKeys() - 类 中的方法com.hccake.ballcat.common.websocket.session.DefaultWebSocketSessionStore
获取所有的 sessionKeys
getSessionKeys() - 接口 中的方法com.hccake.ballcat.common.websocket.session.WebSocketSessionStore
获取所有的 sessionKeys
getSessions() - 类 中的方法com.hccake.ballcat.common.websocket.session.DefaultWebSocketSessionStore
获取当前所有在线的 session
getSessions(Object) - 类 中的方法com.hccake.ballcat.common.websocket.session.DefaultWebSocketSessionStore
根据指定的 sessionKey 获取对应的 wsSessions
getSessions() - 接口 中的方法com.hccake.ballcat.common.websocket.session.WebSocketSessionStore
获取当前所有在线的 wsSessions
getSessions(Object) - 接口 中的方法com.hccake.ballcat.common.websocket.session.WebSocketSessionStore
根据指定的 sessionKey 获取对应的 wsSessions
getType() - 类 中的方法com.hccake.ballcat.common.websocket.message.JsonWebSocketMessage
 

H

handle(WebSocketSession, T) - 接口 中的方法com.hccake.ballcat.common.websocket.handler.JsonMessageHandler
JsonWebSocketMessage 类型消息处理
handle(WebSocketSession, PingJsonWebSocketMessage) - 类 中的方法com.hccake.ballcat.common.websocket.handler.PingJsonMessageHandler
 
handle(WebSocketSession, String) - 接口 中的方法com.hccake.ballcat.common.websocket.handler.PlanTextMessageHandler
普通文本消息处理
handleTextMessage(WebSocketSession, TextMessage) - 类 中的方法com.hccake.ballcat.common.websocket.handler.CustomWebSocketHandler
 

I

initJsonMessageHandlerHolder() - 类 中的方法com.hccake.ballcat.common.websocket.holder.JsonMessageHandlerInitializer
 

J

JsonMessageHandler<T extends JsonWebSocketMessage> - com.hccake.ballcat.common.websocket.handler中的接口
 
JsonMessageHandlerHolder - com.hccake.ballcat.common.websocket.holder中的类
 
JsonMessageHandlerInitializer - com.hccake.ballcat.common.websocket.holder中的类
JsonMessageHandler 初始化器

将所有的 jsonMessageHandler 收集到 JsonMessageHandlerHolder 中

JsonMessageHandlerInitializer() - 类 的构造器com.hccake.ballcat.common.websocket.holder.JsonMessageHandlerInitializer
 
JsonWebSocketMessage - com.hccake.ballcat.common.websocket.message中的类
BallCat 自定义的 Json 类型的消息 要求消息内容必须是一个 Json 对象 Json 对象中必须有一个属性 type
    JsonWebSocketMessage(String) - 类 的构造器com.hccake.ballcat.common.websocket.message.JsonWebSocketMessage
     

    L

    LocalMessageDistributor - com.hccake.ballcat.common.websocket.distribute中的类
    本地消息分发,直接进行发送
    LocalMessageDistributor(WebSocketSessionStore) - 类 的构造器com.hccake.ballcat.common.websocket.distribute.LocalMessageDistributor
     

    M

    MapSessionWebSocketHandlerDecorator - com.hccake.ballcat.common.websocket.session中的类
    WebSocketHandler 装饰器,该装饰器主要用于在开启和关闭连接时,进行session的映射存储与释放
    MapSessionWebSocketHandlerDecorator(WebSocketHandler, WebSocketSessionStore, ConcurrentWebSocketSessionOptions) - 类 的构造器com.hccake.ballcat.common.websocket.session.MapSessionWebSocketHandlerDecorator
     
    MessageDistributor - com.hccake.ballcat.common.websocket.distribute中的接口
    消息分发器
    MessageDO - com.hccake.ballcat.common.websocket.distribute中的类
     
    MessageDO() - 类 的构造器com.hccake.ballcat.common.websocket.distribute.MessageDO
     

    O

    onMessage(Message, byte[]) - 类 中的方法com.hccake.ballcat.common.websocket.distribute.RedisMessageDistributor
     
    onMessage(MessageExt) - 类 中的方法com.hccake.ballcat.common.websocket.distribute.RocketmqMessageDistributor
    消息消费

    P

    PingJsonMessageHandler - com.hccake.ballcat.common.websocket.handler中的类
    心跳处理,接收到客户端的ping时,立刻回复一个pong
    PingJsonMessageHandler() - 类 的构造器com.hccake.ballcat.common.websocket.handler.PingJsonMessageHandler
     
    PingJsonWebSocketMessage - com.hccake.ballcat.common.websocket.message中的类
     
    PingJsonWebSocketMessage() - 类 的构造器com.hccake.ballcat.common.websocket.message.PingJsonWebSocketMessage
     
    PlanTextMessageHandler - com.hccake.ballcat.common.websocket.handler中的接口
    普通文本类型(非指定json类型)的消息处理器 即消息不满足于我们定义的Json类型消息时,所使用的处理器
    PongJsonWebSocketMessage - com.hccake.ballcat.common.websocket.message中的类
     
    PongJsonWebSocketMessage() - 类 的构造器com.hccake.ballcat.common.websocket.message.PongJsonWebSocketMessage
     

    R

    RedisMessageDistributor - com.hccake.ballcat.common.websocket.distribute中的类
    基于 redis PUB/SUB 的消息分发器, 订阅 websocket 发送消息,接收到消息时进行推送
    RedisMessageDistributor(WebSocketSessionStore, StringRedisTemplate) - 类 的构造器com.hccake.ballcat.common.websocket.distribute.RedisMessageDistributor
     
    RedisMessageListenerInitializer - com.hccake.ballcat.common.websocket.distribute中的类
    初始化 redis 消息的监听器
    RedisMessageListenerInitializer() - 类 的构造器com.hccake.ballcat.common.websocket.distribute.RedisMessageListenerInitializer
     
    removeSession(WebSocketSession) - 类 中的方法com.hccake.ballcat.common.websocket.session.DefaultWebSocketSessionStore
    删除一个 session
    removeSession(WebSocketSession) - 接口 中的方法com.hccake.ballcat.common.websocket.session.WebSocketSessionStore
    删除一个 session
    RocketmqMessageDistributor - com.hccake.ballcat.common.websocket.distribute中的类
    MQ发送消息,接收到消息时进行推送, 广播模式
    RocketmqMessageDistributor(WebSocketSessionStore, RocketMQTemplate) - 类 的构造器com.hccake.ballcat.common.websocket.distribute.RocketmqMessageDistributor
     

    S

    send(WebSocketSession, JsonWebSocketMessage) - 类 中的静态方法com.hccake.ballcat.common.websocket.WebSocketMessageSender
     
    send(WebSocketSession, String) - 类 中的静态方法com.hccake.ballcat.common.websocket.WebSocketMessageSender
     
    sessionKey(WebSocketSession) - 接口 中的方法com.hccake.ballcat.common.websocket.session.SessionKeyGenerator
    获取当前session的唯一标识
    SessionKeyGenerator - com.hccake.ballcat.common.websocket.session中的接口
    WebSocketSession 唯一标识生成器

    T

    type() - 接口 中的方法com.hccake.ballcat.common.websocket.handler.JsonMessageHandler
    当前处理器处理的消息类型
    type() - 类 中的方法com.hccake.ballcat.common.websocket.handler.PingJsonMessageHandler
     
    TYPE_FIELD - 类 中的静态变量com.hccake.ballcat.common.websocket.message.JsonWebSocketMessage
     

    V

    valueOf(String) - 枚举 中的静态方法com.hccake.ballcat.common.websocket.message.WebSocketMessageTypeEnum
    返回带有指定名称的该类型的枚举常量。
    values() - 枚举 中的静态方法com.hccake.ballcat.common.websocket.message.WebSocketMessageTypeEnum
    按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    W

    WebSocketMessageSender - com.hccake.ballcat.common.websocket中的类
     
    WebSocketMessageTypeEnum - com.hccake.ballcat.common.websocket.message中的枚举
     
    WebSocketSessionStore - com.hccake.ballcat.common.websocket.session中的接口
     
    A C D E G H I J L M O P R S T V W 
    跳过导航链接

    Copyright © 2023. All rights reserved.