Interface IRemoteConnection
A simple abstraction of a "connection" to a "server".
Namespace: Gremlin.Net.Process.Remote
Assembly: cs.temp.dll.dll
Syntax
public interface IRemoteConnection
Properties
IsSessionBound
Determines if the connection is bound to a session.
Declaration
bool IsSessionBound { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
SubmitAsync<S, E>(Bytecode, CancellationToken)
Submits
Declaration
Task<ITraversal<S, E>> SubmitAsync<S, E>(Bytecode bytecode, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Bytecode | bytecode | The |
CancellationToken | cancellationToken | The token to cancel the operation. The default value is None. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ITraversal<S, E>> | The |
Type Parameters
Name | Description |
---|---|
S | |
E |
Tx(GraphTraversalSource)
Creates a RemoteTransaction in the context of a
Declaration
RemoteTransaction Tx(GraphTraversalSource graphTraversalSource)
Parameters
Type | Name | Description |
---|---|---|
GraphTraversalSource | graphTraversalSource | The |
Returns
Type | Description |
---|---|
RemoteTransaction | The created RemoteTransaction. |