Class AbstractClient
java.lang.Object
org.apache.tinkerpop.gremlin.driver.simple.AbstractClient
- All Implemented Interfaces:
Closeable,AutoCloseable,SimpleClient
- Direct Known Subclasses:
SimpleHttpClient
- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.tinkerpop.gremlin.driver.simple.AbstractClient.CallbackResponseHandlerprotected final io.netty.channel.EventLoopGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsubmit(RequestMessage requestMessage) voidsubmit(RequestMessage requestMessage, Consumer<ResponseMessage> callback) abstract voidwriteAndFlush(RequestMessage requestMessage) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.driver.simple.SimpleClient
submit, submit, submitAsync, submitAsync
-
Field Details
-
callbackResponseHandler
protected final org.apache.tinkerpop.gremlin.driver.simple.AbstractClient.CallbackResponseHandler callbackResponseHandler -
group
protected final io.netty.channel.EventLoopGroup group
-
-
Constructor Details
-
AbstractClient
-
-
Method Details
-
writeAndFlush
- Throws:
Exception
-
submit
public void submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback) throws Exception - Specified by:
submitin interfaceSimpleClient- Throws:
Exception
-
submit
- Specified by:
submitin interfaceSimpleClient- Throws:
Exception
-