public abstract class AbstractClient extends Object implements SimpleClient
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.tinkerpop.gremlin.driver.simple.AbstractClient.CallbackResponseHandler | callbackResponseHandler | 
| protected io.netty.channel.EventLoopGroup | group | 
| Constructor and Description | 
|---|
| AbstractClient(String threadPattern) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<ResponseMessage> | submit(RequestMessage requestMessage) | 
| void | submit(RequestMessage requestMessage,
      Consumer<ResponseMessage> callback) | 
| CompletableFuture<List<ResponseMessage>> | submitAsync(RequestMessage requestMessage) | 
| abstract void | writeAndFlush(RequestMessage requestMessage) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsubmit, submit, submitAsyncprotected final org.apache.tinkerpop.gremlin.driver.simple.AbstractClient.CallbackResponseHandler callbackResponseHandler
protected final io.netty.channel.EventLoopGroup group
public AbstractClient(String threadPattern)
public abstract void writeAndFlush(RequestMessage requestMessage) throws Exception
Exceptionpublic void submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback) throws Exception
submit in interface SimpleClientExceptionpublic List<ResponseMessage> submit(RequestMessage requestMessage) throws Exception
submit in interface SimpleClientExceptionpublic CompletableFuture<List<ResponseMessage>> submitAsync(RequestMessage requestMessage) throws Exception
submitAsync in interface SimpleClientExceptionCopyright © 2013–2023 Apache Software Foundation. All rights reserved.