# tff.framework.RemoteExecutorStub

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Represents the interface of stubs call to an remote executor instance.

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `is_ready` | Tells if the connection to remote is established. |

<br />

## Methods

### `compute`

[View source](https://github.com/tensorflow/federated/blob/v0.87.0
Version 2.0, January 2004
Licensed under the Apache License, Version 2.0 (the)

    @abc.abstractmethod
    compute(
        request: executor_pb2.ComputeRequest
    ) -> executor_pb2.ComputeResponse

Invokes Compute in a remote TFF runtime.

<br />

<br />

<br />

| Args ||
|---|---|
| `request` | ComputeRequest. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| ComputeResponse. ||

<br />

### `create_call`

[View source](https://github.com/tensorflow/federated/blob/v0.87.0
Version 2.0, January 2004
Licensed under the Apache License, Version 2.0 (the)

    @abc.abstractmethod
    create_call(
        request: executor_pb2.CreateCallRequest
    ) -> executor_pb2.CreateCallResponse

Invokes CreateCall in a remote TFF runtime.

<br />

<br />

<br />

| Args ||
|---|---|
| `request` | CreateCallRequest. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| CreateCallResponse. ||

<br />

### `create_selection`

[View source](https://github.com/tensorflow/federated/blob/v0.87.0
Version 2.0, January 2004
Licensed under the Apache License, Version 2.0 (the)

    @abc.abstractmethod
    create_selection(
        request: executor_pb2.CreateSelectionRequest
    ) -> executor_pb2.CreateSelectionResponse

Invokes CreateSelection in a remote TFF runtime.

<br />

<br />

<br />

| Args ||
|---|---|
| `request` | CreateSelectionRequest. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| CreateSelectionResponse. ||

<br />

### `create_struct`

[View source](https://github.com/tensorflow/federated/blob/v0.87.0
Version 2.0, January 2004
Licensed under the Apache License, Version 2.0 (the)

    @abc.abstractmethod
    create_struct(
        request: executor_pb2.CreateStructRequest
    ) -> executor_pb2.CreateStructResponse

Invokes CreateStruct in a remote TFF runtime.

<br />

<br />

<br />

| Args ||
|---|---|
| `request` | CreateStructRequest. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| CreateStructResponse. ||

<br />

### `create_value`

[View source](https://github.com/tensorflow/federated/blob/v0.87.0
Version 2.0, January 2004
Licensed under the Apache License, Version 2.0 (the)

    @abc.abstractmethod
    create_value(
        request: executor_pb2.CreateValueRequest
    ) -> executor_pb2.CreateValueResponse

Invokes CreateValue remotely.

<br />

<br />

<br />

| Args ||
|---|---|
| `request` | CreateValueRequest. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| CreateValueResponse. ||

<br />

### `dispose`

[View source](https://github.com/tensorflow/federated/blob/v0.87.0
Version 2.0, January 2004
Licensed under the Apache License, Version 2.0 (the)

    @abc.abstractmethod
    dispose(
        request: executor_pb2.DisposeRequest
    ) -> executor_pb2.DisposeResponse

Invokes Dispose in a remote TFF runtime.

<br />

<br />

<br />

| Args ||
|---|---|
| `request` | DisposeRequest. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| DisposeResponse. ||

<br />

### `dispose_executor`

[View source](https://github.com/tensorflow/federated/blob/v0.87.0
Version 2.0, January 2004
Licensed under the Apache License, Version 2.0 (the)

    @abc.abstractmethod
    dispose_executor(
        request: executor_pb2.DisposeExecutorRequest
    ) -> executor_pb2.DisposeExecutorResponse

Invokes `DisposeExecutor` in a remote TFF runtime.

### `get_executor`

[View source](https://github.com/tensorflow/federated/blob/v0.87.0
Version 2.0, January 2004
Licensed under the Apache License, Version 2.0 (the)

    @abc.abstractmethod
    get_executor(
        request: executor_pb2.GetExecutorRequest
    ) -> executor_pb2.GetExecutorResponse

Invokes GetExecutor remotely.