Show / Hide Table of Contents

    Class DriverRemoteConnection

    A implementation for Gremlin Server.

    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 for evaluation to a remote Gremlin Server.

    Declaration
    public Task<ITraversal<S, E>> SubmitAsync<S, E>(Bytecode bytecode)
    Parameters
    Type Name Description
    Bytecode bytecode

    The to submit.

    Returns
    Type Description
    System.Threading.Tasks.Task<ITraversal<S, E>>

    A allowing to access the results and side-effects.

    Type Parameters
    Name Description
    S
    E

    Implements

    System.IDisposable
    Back to top Copyright © 2018 The Apache Software Foundation