Class DriverRemoteConnection
A
Inheritance
System.Object
DriverRemoteConnection
Implements
System.IDisposable
Namespace: Gremlin.Net.Driver.Remote
Assembly: cs.temp.dll.dll
Syntax
public class DriverRemoteConnection : IRemoteConnection, IDisposable
Constructors
DriverRemoteConnection(IGremlinClient)
Initializes a new
Declaration
public DriverRemoteConnection(IGremlinClient client)
Parameters
Type | Name | Description |
---|---|---|
IGremlinClient | client | The IGremlinClient that will be used for the connection. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when client is null. |
DriverRemoteConnection(IGremlinClient, String)
Initializes a new
Declaration
public DriverRemoteConnection(IGremlinClient client, string traversalSource)
Parameters
Type | Name | Description |
---|---|---|
IGremlinClient | client | The IGremlinClient that will be used for the connection. |
System.String | traversalSource | The name of the traversal source on the server to bind to. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when client is null. |
Methods
Dispose()
Declaration
public void Dispose()
SubmitAsync<S, E>(Bytecode)
Submits
Declaration
public Task<ITraversal<S, E>> SubmitAsync<S, E>(Bytecode bytecode)
Parameters
Type | Name | Description |
---|---|---|
Bytecode | bytecode | The |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ITraversal<S, E>> | A |
Type Parameters
Name | Description |
---|---|
S | |
E |
Implements
System.IDisposable