Interface SimpleClient
- 
- All Superinterfaces:
- AutoCloseable,- Closeable
 - All Known Implementing Classes:
- AbstractClient,- WebSocketClient
 
 public interface SimpleClient extends Closeable - Author:
- Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default List<ResponseMessage>submit(String gremlin)default voidsubmit(String gremlin, Consumer<ResponseMessage> callback)List<ResponseMessage>submit(RequestMessage requestMessage)voidsubmit(RequestMessage requestMessage, Consumer<ResponseMessage> callback)default CompletableFuture<List<ResponseMessage>>submitAsync(String gremlin)CompletableFuture<List<ResponseMessage>>submitAsync(RequestMessage requestMessage)
 
- 
- 
- 
Method Detail- 
submitdefault void submit(String gremlin, Consumer<ResponseMessage> callback) throws Exception - Throws:
- Exception
 
 - 
submitvoid submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback) throws Exception - Throws:
- Exception
 
 - 
submitdefault List<ResponseMessage> submit(String gremlin) throws Exception - Throws:
- Exception
 
 - 
submitList<ResponseMessage> submit(RequestMessage requestMessage) throws Exception - Throws:
- Exception
 
 - 
submitAsyncdefault CompletableFuture<List<ResponseMessage>> submitAsync(String gremlin) throws Exception - Throws:
- Exception
 
 - 
submitAsyncCompletableFuture<List<ResponseMessage>> submitAsync(RequestMessage requestMessage) throws Exception - Throws:
- Exception
 
 
- 
 
-