package com.tvd12.ezyfoxserver.socket;

import com.tvd12.ezyfox.entity.EzyArray;
import com.tvd12.ezyfox.util.EzyDestroyable;
import com.tvd12.ezyfoxserver.constant.EzyCommand;

public interface EzySocketDataHandler extends EzyDestroyable {

    void channelRead(EzyCommand cmd, EzyArray msg) throws Exception;

    void streamingReceived(byte[] bytes) throws Exception;

    void processMaxRequestPerSecond();
}
