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<TStart, TEnd>(Bytecode, CancellationToken)
Submits
Declaration
Task<ITraversal<TStart, TEnd>> SubmitAsync<TStart, TEnd>(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<TStart, TEnd>> | The |
Type Parameters
Name | Description |
---|---|
TStart | |
TEnd |
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. |