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

org.webpieces.http2client.impl.Http2ChannelProxy Maven / Gradle / Ivy

There is a newer version: 2.1.109
Show newest version
package org.webpieces.http2client.impl;

import java.net.InetSocketAddress;
import java.nio.ByteBuffer;

import org.webpieces.util.HostWithPort;
import org.webpieces.util.futures.XFuture;

import org.webpieces.nio.api.handlers.DataListener;

public interface Http2ChannelProxy {

	XFuture write(ByteBuffer data);

	XFuture connect(HostWithPort addr, DataListener listener);

	/**
	 * @deprecated
	 */
	@Deprecated
	XFuture connect(InetSocketAddress addr, DataListener listener);

	XFuture close();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy