All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net_io.core.AsyncSocketProcessor Maven / Gradle / Ivy

package net_io.core;

import java.net.ServerSocket;

public abstract class AsyncSocketProcessor {
	public boolean acceptPrecheck(AsyncBaseSocket that, ServerSocket socket) throws Exception {
		return true;
	}
	
	abstract public void onConnect(NetChannel channel) throws Exception;
	abstract public void onClose(NetChannel channel) throws Exception;
	
	
	abstract public void onReceive(NetChannel channel) throws Exception;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy