koncept.io.StreamingSocketConnection Maven / Gradle / Ivy
package koncept.io;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetSocketAddress;
public interface StreamingSocketConnection extends Closeable {
//
// public T underlying();
//
public InetSocketAddress localAddress();
public InetSocketAddress remoteAddress();
public InputStream in() throws IOException;
public OutputStream out() throws IOException;
public void setWriteTimeout(long writeTimeout);
public void setReadTimeout(long readTimeout);
//Inetlocaladdress
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy