Class AbstractClient
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.driver.simple.AbstractClient
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- SimpleClient
 - Direct Known Subclasses:
- WebSocketClient
 
 public abstract class AbstractClient extends Object implements SimpleClient - Author:
- Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.apache.tinkerpop.gremlin.driver.simple.AbstractClient.CallbackResponseHandlercallbackResponseHandlerprotected io.netty.channel.EventLoopGroupgroup
 - 
Constructor SummaryConstructors Constructor Description AbstractClient(String threadPattern)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<ResponseMessage>submit(RequestMessage requestMessage)voidsubmit(RequestMessage requestMessage, Consumer<ResponseMessage> callback)CompletableFuture<List<ResponseMessage>>submitAsync(RequestMessage requestMessage)abstract voidwriteAndFlush(RequestMessage requestMessage)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.driver.simple.SimpleClientsubmit, submit, submitAsync
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractClientpublic AbstractClient(String threadPattern) 
 
- 
 - 
Method Detail- 
writeAndFlushpublic abstract void writeAndFlush(RequestMessage requestMessage) throws Exception - Throws:
- Exception
 
 - 
submitpublic void submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback) throws Exception - Specified by:
- submitin interface- SimpleClient
- Throws:
- Exception
 
 - 
submitpublic List<ResponseMessage> submit(RequestMessage requestMessage) throws Exception - Specified by:
- submitin interface- SimpleClient
- Throws:
- Exception
 
 - 
submitAsyncpublic CompletableFuture<List<ResponseMessage>> submitAsync(RequestMessage requestMessage) throws Exception - Specified by:
- submitAsyncin interface- SimpleClient
- Throws:
- Exception
 
 
- 
 
-