public class HttpClientConnector extends Object implements org.nustaq.kontraktor.remoting.base.ActorClientConnector
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpClientConnector.HttpClientActor |
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.http.impl.nio.client.CloseableHttpAsyncClient |
asyncHttpClient |
Object[] |
authData |
static boolean |
DumpProtocol |
static int |
MAX_CONN_PER_ROUTE |
static int |
MAX_CONN_TOTAL |
| Constructor and Description |
|---|
HttpClientConnector(HttpConnectable httpConnectable) |
| Modifier and Type | Method and Description |
|---|---|
org.nustaq.kontraktor.IPromise |
closeClient() |
org.nustaq.kontraktor.IPromise |
connect(Function<org.nustaq.kontraktor.remoting.base.ObjectSocket,org.nustaq.kontraktor.remoting.base.ObjectSink> factory) |
static org.apache.http.impl.nio.client.CloseableHttpAsyncClient |
getClient() |
static HttpClientConnector.HttpClientActor |
getReceiveActor() |
static HttpClientConnector.HttpClientActor |
getRefPollActor() |
protected void |
startLongPoll(org.nustaq.kontraktor.remoting.http.HttpClientConnector.MyHttpWS myHttpWS) |
public static int MAX_CONN_TOTAL
public static int MAX_CONN_PER_ROUTE
public static boolean DumpProtocol
protected static org.apache.http.impl.nio.client.CloseableHttpAsyncClient asyncHttpClient
public Object[] authData
public HttpClientConnector(HttpConnectable httpConnectable)
public static org.apache.http.impl.nio.client.CloseableHttpAsyncClient getClient()
public org.nustaq.kontraktor.IPromise connect(Function<org.nustaq.kontraktor.remoting.base.ObjectSocket,org.nustaq.kontraktor.remoting.base.ObjectSink> factory) throws Exception
connect in interface org.nustaq.kontraktor.remoting.base.ActorClientConnectorExceptionprotected void startLongPoll(org.nustaq.kontraktor.remoting.http.HttpClientConnector.MyHttpWS myHttpWS)
public org.nustaq.kontraktor.IPromise closeClient()
closeClient in interface org.nustaq.kontraktor.remoting.base.ActorClientConnectorpublic static HttpClientConnector.HttpClientActor getReceiveActor()
public static HttpClientConnector.HttpClientActor getRefPollActor()
Copyright © 2018. All rights reserved.