Represents the interface of stubs call to an remote executor instance.
Attributes |
is_ready
|
Tells if the connection to remote is established.
|
Methods
compute
View source
@abc.abstractmethod
compute(
request: executor_pb2.ComputeRequest
) -> executor_pb2.ComputeResponse
Invokes Compute in a remote TFF runtime.
Args |
request
|
ComputeRequest.
|
create_call
View source
@abc.abstractmethod
create_call(
request: executor_pb2.CreateCallRequest
) -> executor_pb2.CreateCallResponse
Invokes CreateCall in a remote TFF runtime.
Args |
request
|
CreateCallRequest.
|
Returns |
CreateCallResponse.
|
create_selection
View source
@abc.abstractmethod
create_selection(
request: executor_pb2.CreateSelectionRequest
) -> executor_pb2.CreateSelectionResponse
Invokes CreateSelection in a remote TFF runtime.
Args |
request
|
CreateSelectionRequest.
|
Returns |
CreateSelectionResponse.
|
create_struct
View source
@abc.abstractmethod
create_struct(
request: executor_pb2.CreateStructRequest
) -> executor_pb2.CreateStructResponse
Invokes CreateStruct in a remote TFF runtime.
Args |
request
|
CreateStructRequest.
|
Returns |
CreateStructResponse.
|
create_value
View source
@abc.abstractmethod
create_value(
request: executor_pb2.CreateValueRequest
) -> executor_pb2.CreateValueResponse
Invokes CreateValue remotely.
Args |
request
|
CreateValueRequest.
|
Returns |
CreateValueResponse.
|
dispose
View source
@abc.abstractmethod
dispose(
request: executor_pb2.DisposeRequest
) -> executor_pb2.DisposeResponse
Invokes Dispose in a remote TFF runtime.
Args |
request
|
DisposeRequest.
|
dispose_executor
View source
@abc.abstractmethod
dispose_executor(
request: executor_pb2.DisposeExecutorRequest
) -> executor_pb2.DisposeExecutorResponse
Invokes DisposeExecutor
in a remote TFF runtime.
get_executor
View source
@abc.abstractmethod
get_executor(
request: executor_pb2.GetExecutorRequest
) -> executor_pb2.GetExecutorResponse
Invokes GetExecutor remotely.