Class OpenApiClient_Extensions
Inheritance
System.Object
OpenApiClient_Extensions
Assembly: DeephavenOpenAPI.dll
Syntax
public static class OpenApiClient_Extensions : object
Methods
AttachWorkerByName(IOpenApiClient, String, IWorkerListener)
Declaration
public static IWorkerSession AttachWorkerByName(this IOpenApiClient self, string name, IWorkerListener workerListener = null)
Parameters
Returns
AttachWorkerBySerial(IOpenApiClient, Int64, IWorkerListener)
Declaration
public static IWorkerSession AttachWorkerBySerial(this IOpenApiClient self, long serial, IWorkerListener workerListener = null)
Parameters
Returns
GetWorkerProfiles(IOpenApiClient)
Declaration
public static string[] GetWorkerProfiles(this IOpenApiClient self)
Parameters
Returns
Type |
Description |
System.String[] |
|
Login(IOpenApiClient, String)
Login with key-based credentials.
Declaration
public static void Login(this IOpenApiClient self, string privKeyFilename)
Parameters
Type |
Name |
Description |
IOpenApiClient |
self |
This object (needed because this method is a C# extension method)
|
System.String |
privKeyFilename |
The filename of the Deephaven key-based credential file,
e.g. a file like "priv-myuser-iris.base64.txt"
|
Login(IOpenApiClient, String, String, String)
Declaration
public static void Login(this IOpenApiClient self, string username, string password, string operateAs = null)
Parameters
Type |
Name |
Description |
IOpenApiClient |
self |
|
System.String |
username |
|
System.String |
password |
|
System.String |
operateAs |
|
Login(IOpenApiClient, TextReader)
Login with key-based credentials.
Declaration
public static void Login(this IOpenApiClient self, TextReader privKeyReader)
Parameters
Type |
Name |
Description |
IOpenApiClient |
self |
This object (needed because this method is a C# extension method)
|
TextReader |
privKeyReader |
A TextReader providing the contents of the Deephaven private key file,
e.g. a file like "priv-myuser-iris.base64.txt"
|
LoginTask(IOpenApiClient, String)
Login with key-based credentials. The
Declaration
public static Task LoginTask(this IOpenApiClient self, string privKeyFilename)
Parameters
Type |
Name |
Description |
IOpenApiClient |
self |
This object (needed because this method is a C# extension method)
|
System.String |
privKeyFilename |
The filename of the Deephaven key-based credential file,
e.g. a file like "priv-myuser-iris.base64.txt"
|
Returns
StartWorker(IOpenApiClient, WorkerOptions, IWorkerListener)
Declaration
public static IWorkerSession StartWorker(this IOpenApiClient self, WorkerOptions options, IWorkerListener workerListener = null)
Parameters
Returns