link.jfire.socket.socketserver.handler.MessageHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jfire-socket Show documentation
Show all versions of jfire-socket Show documentation
Jfire - socket is a server-side framework based on AIO. Users only need a simple implementation of a business logic processing interface can be the business data processing. The framework provides the client and server at the same time. Have strong connection capacity. Single server provides tens of thousands of connections.
The newest version!
package link.jfire.socket.socketserver.handler;
import link.jfire.socket.socketserver.bus.Message;
public interface MessageHandler
{
public byte interestedDataPacketType();
/**
* 对消息中的businessData进行处理
*
* @param message
*/
public void handler(Message message) throws Exception;
}