Class: RemoteConnection

RemoteConnection()

Represents an abstraction of a "connection" to a "server" that is capable of processing a traversal and returning results.

Constructor

new RemoteConnection()

Source:

Members

isOpen

Returns true if connection is open
Source:

Methods

close() → {Promise}

Closes the connection, if its not already opened.
Source:
Returns:
Type
Promise

open() → {Promise}

Opens the connection, if its not already opened.
Source:
Returns:
Type
Promise

(abstract) submit(bytecode) → {Promise}

Submits the Bytecode provided and returns a RemoteTraversal.
Parameters:
Name Type Description
bytecode Bytecode
Source:
Returns:
Returns a Promise that resolves to a RemoteTraversal.
Type
Promise