
ars.invoke.channel.socket.SocketServer Maven / Gradle / Ivy
The newest version!
package ars.invoke.channel.socket;
import java.nio.channels.Channel;
import ars.util.Server;
/**
* 套接字通信服务端接口
*
* @author wuyongqiang
*/
public interface SocketServer extends Server {
/**
* 接收数据
*
* @param channel 数据通道
* @throws Exception 操作异常
*/
public void accept(Channel channel) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy