Class Agent.AgentClient
Namespace: ArmoniK.Api.gRPC.V1.Agent
Assembly: ArmoniK.Api.Core.dll, ArmoniK.Api.Worker.dll
Client for Agent
public class Agent.AgentClient : ClientBase<Agent.AgentClient>
Inheritance
object ← ClientBase ← ClientBase<Agent.AgentClient> ← Agent.AgentClient
Inherited Members
ClientBase<Agent.AgentClient>.WithHost(string), ClientBase<Agent.AgentClient>.NewInstance(ClientBase.ClientBaseConfiguration), ClientBase.CallInvoker, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
AgentClient(ChannelBase)
Creates a new client for Agent
public AgentClient(ChannelBase channel)
Parameters
channel ChannelBase
The channel to use to make remote calls.
AgentClient(CallInvoker)
Creates a new client for Agent that uses a custom CallInvoker.
public AgentClient(CallInvoker callInvoker)
Parameters
callInvoker CallInvoker
The callInvoker to use to make remote calls.
AgentClient()
Protected parameterless constructor to allow creation of test doubles.
protected AgentClient()
AgentClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
protected AgentClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
The client configuration.
AgentClient(ChannelBase)
Creates a new client for Agent
public AgentClient(ChannelBase channel)
Parameters
channel ChannelBase
The channel to use to make remote calls.
AgentClient(CallInvoker)
Creates a new client for Agent that uses a custom CallInvoker.
public AgentClient(CallInvoker callInvoker)
Parameters
callInvoker CallInvoker
The callInvoker to use to make remote calls.
AgentClient()
Protected parameterless constructor to allow creation of test doubles.
protected AgentClient()
AgentClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
protected AgentClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
The client configuration.
Methods
CreateResults(CreateResultsRequest, Metadata, DateTime?, CancellationToken)
Create one result with data included in the request
public virtual CreateResultsResponse CreateResults(CreateResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
CreateResultsResponse
The response received from the server.
CreateResults(CreateResultsRequest, CallOptions)
Create one result with data included in the request
public virtual CreateResultsResponse CreateResults(CreateResultsRequest request, CallOptions options)
Parameters
request CreateResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
CreateResultsResponse
The response received from the server.
CreateResults(CreateResultsRequest, Metadata, DateTime?, CancellationToken)
Create one result with data included in the request
public virtual CreateResultsResponse CreateResults(CreateResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
CreateResultsResponse
The response received from the server.
CreateResults(CreateResultsRequest, CallOptions)
Create one result with data included in the request
public virtual CreateResultsResponse CreateResults(CreateResultsRequest request, CallOptions options)
Parameters
request CreateResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
CreateResultsResponse
The response received from the server.
CreateResultsAsync(CreateResultsRequest, Metadata, DateTime?, CancellationToken)
Create one result with data included in the request
public virtual AsyncUnaryCall<CreateResultsResponse> CreateResultsAsync(CreateResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<CreateResultsResponse>
The call object.
CreateResultsAsync(CreateResultsRequest, CallOptions)
Create one result with data included in the request
public virtual AsyncUnaryCall<CreateResultsResponse> CreateResultsAsync(CreateResultsRequest request, CallOptions options)
Parameters
request CreateResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<CreateResultsResponse>
The call object.
CreateResultsAsync(CreateResultsRequest, Metadata, DateTime?, CancellationToken)
Create one result with data included in the request
public virtual AsyncUnaryCall<CreateResultsResponse> CreateResultsAsync(CreateResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<CreateResultsResponse>
The call object.
CreateResultsAsync(CreateResultsRequest, CallOptions)
Create one result with data included in the request
public virtual AsyncUnaryCall<CreateResultsResponse> CreateResultsAsync(CreateResultsRequest request, CallOptions options)
Parameters
request CreateResultsRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<CreateResultsResponse>
The call object.
CreateResultsMetaData(CreateResultsMetaDataRequest, Metadata, DateTime?, CancellationToken)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual CreateResultsMetaDataResponse CreateResultsMetaData(CreateResultsMetaDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
CreateResultsMetaDataResponse
The response received from the server.
CreateResultsMetaData(CreateResultsMetaDataRequest, CallOptions)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual CreateResultsMetaDataResponse CreateResultsMetaData(CreateResultsMetaDataRequest request, CallOptions options)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
CreateResultsMetaDataResponse
The response received from the server.
CreateResultsMetaData(CreateResultsMetaDataRequest, Metadata, DateTime?, CancellationToken)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual CreateResultsMetaDataResponse CreateResultsMetaData(CreateResultsMetaDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
CreateResultsMetaDataResponse
The response received from the server.
CreateResultsMetaData(CreateResultsMetaDataRequest, CallOptions)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual CreateResultsMetaDataResponse CreateResultsMetaData(CreateResultsMetaDataRequest request, CallOptions options)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
CreateResultsMetaDataResponse
The response received from the server.
CreateResultsMetaDataAsync(CreateResultsMetaDataRequest, Metadata, DateTime?, CancellationToken)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual AsyncUnaryCall<CreateResultsMetaDataResponse> CreateResultsMetaDataAsync(CreateResultsMetaDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<CreateResultsMetaDataResponse>
The call object.
CreateResultsMetaDataAsync(CreateResultsMetaDataRequest, CallOptions)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual AsyncUnaryCall<CreateResultsMetaDataResponse> CreateResultsMetaDataAsync(CreateResultsMetaDataRequest request, CallOptions options)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<CreateResultsMetaDataResponse>
The call object.
CreateResultsMetaDataAsync(CreateResultsMetaDataRequest, Metadata, DateTime?, CancellationToken)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual AsyncUnaryCall<CreateResultsMetaDataResponse> CreateResultsMetaDataAsync(CreateResultsMetaDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<CreateResultsMetaDataResponse>
The call object.
CreateResultsMetaDataAsync(CreateResultsMetaDataRequest, CallOptions)
Create the metadata of multiple results at once Data have to be uploaded separately
public virtual AsyncUnaryCall<CreateResultsMetaDataResponse> CreateResultsMetaDataAsync(CreateResultsMetaDataRequest request, CallOptions options)
Parameters
request CreateResultsMetaDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<CreateResultsMetaDataResponse>
The call object.
CreateTask(Metadata, DateTime?, CancellationToken)
public virtual AsyncClientStreamingCall<CreateTaskRequest, CreateTaskReply> CreateTask(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
headers Metadata
deadline DateTime?
cancellationToken CancellationToken
Returns
AsyncClientStreamingCall<CreateTaskRequest, CreateTaskReply>
CreateTask(CallOptions)
public virtual AsyncClientStreamingCall<CreateTaskRequest, CreateTaskReply> CreateTask(CallOptions options)
Parameters
options CallOptions
Returns
AsyncClientStreamingCall<CreateTaskRequest, CreateTaskReply>
CreateTask(Metadata, DateTime?, CancellationToken)
public virtual AsyncClientStreamingCall<CreateTaskRequest, CreateTaskReply> CreateTask(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
headers Metadata
deadline DateTime?
cancellationToken CancellationToken
Returns
AsyncClientStreamingCall<CreateTaskRequest, CreateTaskReply>
CreateTask(CallOptions)
public virtual AsyncClientStreamingCall<CreateTaskRequest, CreateTaskReply> CreateTask(CallOptions options)
Parameters
options CallOptions
Returns
AsyncClientStreamingCall<CreateTaskRequest, CreateTaskReply>
GetCommonData(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetCommonData(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
DataResponse
The response received from the server.
GetCommonData(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetCommonData(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
DataResponse
The response received from the server.
GetCommonData(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetCommonData(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
DataResponse
The response received from the server.
GetCommonData(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetCommonData(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
DataResponse
The response received from the server.
GetCommonDataAsync(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetCommonDataAsync(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetCommonDataAsync(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetCommonDataAsync(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetCommonDataAsync(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetCommonDataAsync(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetCommonDataAsync(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetCommonDataAsync(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetDirectData(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetDirectData(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
DataResponse
The response received from the server.
GetDirectData(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetDirectData(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
DataResponse
The response received from the server.
GetDirectData(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetDirectData(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
DataResponse
The response received from the server.
GetDirectData(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetDirectData(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
DataResponse
The response received from the server.
GetDirectDataAsync(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetDirectDataAsync(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetDirectDataAsync(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetDirectDataAsync(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetDirectDataAsync(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetDirectDataAsync(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetDirectDataAsync(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetDirectDataAsync(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetResourceData(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetResourceData(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
DataResponse
The response received from the server.
GetResourceData(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetResourceData(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
DataResponse
The response received from the server.
GetResourceData(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetResourceData(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
DataResponse
The response received from the server.
GetResourceData(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual DataResponse GetResourceData(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
DataResponse
The response received from the server.
GetResourceDataAsync(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetResourceDataAsync(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetResourceDataAsync(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetResourceDataAsync(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetResourceDataAsync(DataRequest, Metadata, DateTime?, CancellationToken)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetResourceDataAsync(DataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request DataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
GetResourceDataAsync(DataRequest, CallOptions)
Retrieve Resource Data from the Agent Data is stored in the shared folder between Agent and Worker as a file with the result id as name Blocks until data are available in the shared folder
public virtual AsyncUnaryCall<DataResponse> GetResourceDataAsync(DataRequest request, CallOptions options)
Parameters
request DataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<DataResponse>
The call object.
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
protected override Agent.AgentClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
Returns
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
protected override Agent.AgentClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration ClientBase.ClientBaseConfiguration
Returns
NotifyResultData(NotifyResultDataRequest, Metadata, DateTime?, CancellationToken)
Notify Agent that a data file representing the Result to upload is available in the shared folder The name of the file should be the result id Blocks until data are stored in Object Storage
public virtual NotifyResultDataResponse NotifyResultData(NotifyResultDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request NotifyResultDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
NotifyResultDataResponse
The response received from the server.
NotifyResultData(NotifyResultDataRequest, CallOptions)
Notify Agent that a data file representing the Result to upload is available in the shared folder The name of the file should be the result id Blocks until data are stored in Object Storage
public virtual NotifyResultDataResponse NotifyResultData(NotifyResultDataRequest request, CallOptions options)
Parameters
request NotifyResultDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
NotifyResultDataResponse
The response received from the server.
NotifyResultData(NotifyResultDataRequest, Metadata, DateTime?, CancellationToken)
Notify Agent that a data file representing the Result to upload is available in the shared folder The name of the file should be the result id Blocks until data are stored in Object Storage
public virtual NotifyResultDataResponse NotifyResultData(NotifyResultDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request NotifyResultDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
NotifyResultDataResponse
The response received from the server.
NotifyResultData(NotifyResultDataRequest, CallOptions)
Notify Agent that a data file representing the Result to upload is available in the shared folder The name of the file should be the result id Blocks until data are stored in Object Storage
public virtual NotifyResultDataResponse NotifyResultData(NotifyResultDataRequest request, CallOptions options)
Parameters
request NotifyResultDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
NotifyResultDataResponse
The response received from the server.
NotifyResultDataAsync(NotifyResultDataRequest, Metadata, DateTime?, CancellationToken)
Notify Agent that a data file representing the Result to upload is available in the shared folder The name of the file should be the result id Blocks until data are stored in Object Storage
public virtual AsyncUnaryCall<NotifyResultDataResponse> NotifyResultDataAsync(NotifyResultDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request NotifyResultDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<NotifyResultDataResponse>
The call object.
NotifyResultDataAsync(NotifyResultDataRequest, CallOptions)
Notify Agent that a data file representing the Result to upload is available in the shared folder The name of the file should be the result id Blocks until data are stored in Object Storage
public virtual AsyncUnaryCall<NotifyResultDataResponse> NotifyResultDataAsync(NotifyResultDataRequest request, CallOptions options)
Parameters
request NotifyResultDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<NotifyResultDataResponse>
The call object.
NotifyResultDataAsync(NotifyResultDataRequest, Metadata, DateTime?, CancellationToken)
Notify Agent that a data file representing the Result to upload is available in the shared folder The name of the file should be the result id Blocks until data are stored in Object Storage
public virtual AsyncUnaryCall<NotifyResultDataResponse> NotifyResultDataAsync(NotifyResultDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request NotifyResultDataRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<NotifyResultDataResponse>
The call object.
NotifyResultDataAsync(NotifyResultDataRequest, CallOptions)
Notify Agent that a data file representing the Result to upload is available in the shared folder The name of the file should be the result id Blocks until data are stored in Object Storage
public virtual AsyncUnaryCall<NotifyResultDataResponse> NotifyResultDataAsync(NotifyResultDataRequest request, CallOptions options)
Parameters
request NotifyResultDataRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<NotifyResultDataResponse>
The call object.
SubmitTasks(SubmitTasksRequest, Metadata, DateTime?, CancellationToken)
Create tasks metadata and submit task for processing.
public virtual SubmitTasksResponse SubmitTasks(SubmitTasksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request SubmitTasksRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
SubmitTasksResponse
The response received from the server.
SubmitTasks(SubmitTasksRequest, CallOptions)
Create tasks metadata and submit task for processing.
public virtual SubmitTasksResponse SubmitTasks(SubmitTasksRequest request, CallOptions options)
Parameters
request SubmitTasksRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
SubmitTasksResponse
The response received from the server.
SubmitTasks(SubmitTasksRequest, Metadata, DateTime?, CancellationToken)
Create tasks metadata and submit task for processing.
public virtual SubmitTasksResponse SubmitTasks(SubmitTasksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request SubmitTasksRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
SubmitTasksResponse
The response received from the server.
SubmitTasks(SubmitTasksRequest, CallOptions)
Create tasks metadata and submit task for processing.
public virtual SubmitTasksResponse SubmitTasks(SubmitTasksRequest request, CallOptions options)
Parameters
request SubmitTasksRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
SubmitTasksResponse
The response received from the server.
SubmitTasksAsync(SubmitTasksRequest, Metadata, DateTime?, CancellationToken)
Create tasks metadata and submit task for processing.
public virtual AsyncUnaryCall<SubmitTasksResponse> SubmitTasksAsync(SubmitTasksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request SubmitTasksRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<SubmitTasksResponse>
The call object.
SubmitTasksAsync(SubmitTasksRequest, CallOptions)
Create tasks metadata and submit task for processing.
public virtual AsyncUnaryCall<SubmitTasksResponse> SubmitTasksAsync(SubmitTasksRequest request, CallOptions options)
Parameters
request SubmitTasksRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<SubmitTasksResponse>
The call object.
SubmitTasksAsync(SubmitTasksRequest, Metadata, DateTime?, CancellationToken)
Create tasks metadata and submit task for processing.
public virtual AsyncUnaryCall<SubmitTasksResponse> SubmitTasksAsync(SubmitTasksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request SubmitTasksRequest
The request to send to the server.
headers Metadata
The initial metadata to send with the call. This parameter is optional.
deadline DateTime?
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken CancellationToken
An optional token for canceling the call.
Returns
AsyncUnaryCall<SubmitTasksResponse>
The call object.
SubmitTasksAsync(SubmitTasksRequest, CallOptions)
Create tasks metadata and submit task for processing.
public virtual AsyncUnaryCall<SubmitTasksResponse> SubmitTasksAsync(SubmitTasksRequest request, CallOptions options)
Parameters
request SubmitTasksRequest
The request to send to the server.
options CallOptions
The options for the call.
Returns
AsyncUnaryCall<SubmitTasksResponse>
The call object.