org.webpieces.http2client.impl.Http2ChannelProxy Maven / Gradle / Ivy
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