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

com.darwinsys.net.StreamServerHandler Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package com.darwinsys.net;

import java.io.IOException;
import java.net.Socket;

/**
 * The general contract of a handler for the StreamServer.
 */
public interface StreamServerHandler {

	/** This is called for each request
	 * @param sock The input socket
	 * @throws IOException if the connection fails
	 */
	public void handle(Socket sock) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy