
com.joe.easysocket.server.backserver.spi.DataWorker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of socket-backserver Show documentation
Show all versions of socket-backserver Show documentation
socket框架,方便快速开发socket服务端和客户端
The newest version!
package com.joe.easysocket.server.backserver.spi;
import com.joe.easysocket.server.common.lambda.Endpoint;
import com.joe.easysocket.server.common.msg.DataMsg;
/**
* 协议栈数据处理器,bean容器和session管理器可以不注册,但是发布中心和队列必须注册;
* 因为该处理器依赖这两个组件工作
*
* @author joe
*/
public interface DataWorker extends Endpoint {
/**
* 读取消息,当前端有消息发送过来时会调用该方法
*
* @param msg 前端发送过来的消息
*/
void read(DataMsg msg);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy