- All Superinterfaces:
- All Known Implementing Classes:
public interface RemoteConnection extends AutoCloseableA simple abstraction of a "connection" to a "server" that is capable of processing a
Traversaland returning results. Results refer to both the
Iteratorof results from the submitted
Traversalas well as the side-effects produced by that
Traversal. Those results together are wrapped in a
- Stephen Mallette (http://stephen.genoprime.com), Marko A. Rodriguez (http://markorodriguez.com)
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description
from(org.apache.commons.configuration2.Configuration conf)Create a
Transactionobject designed to work with remote semantics.
<E> CompletableFuture<RemoteTraversal<?,E>> submitAsync(Bytecode bytecode) throws RemoteConnectionExceptionSubmits
Bytecodeto a server and returns a promise of a
RemoteTraversalis an abstraction over two types of results that can be returned as part of the response from the server: the results of the
Traversalitself and the side-effects that it produced.
static RemoteConnection from(org.apache.commons.configuration2.Configuration conf)