Package ru.tinkoff.piapi.contract.v1
Class StopOrdersServiceGrpc.StopOrdersServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<StopOrdersServiceGrpc.StopOrdersServiceFutureStub>
ru.tinkoff.piapi.contract.v1.StopOrdersServiceGrpc.StopOrdersServiceFutureStub
- Enclosing class:
StopOrdersServiceGrpc
public static final class StopOrdersServiceGrpc.StopOrdersServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<StopOrdersServiceGrpc.StopOrdersServiceFutureStub>
Сервис предназначен для работы со стоп-заявками:</br> **1**. выставление;</br> **2**. отмена;</br> **3**. получение списка стоп-заявок.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CancelStopOrderResponse>cancelStopOrder(CancelStopOrderRequest request) Метод отмены стоп-заявки.com.google.common.util.concurrent.ListenableFuture<GetStopOrdersResponse>getStopOrders(GetStopOrdersRequest request) Метод получения списка активных стоп заявок по счёту.com.google.common.util.concurrent.ListenableFuture<PostStopOrderResponse>postStopOrder(PostStopOrderRequest request) Метод выставления стоп-заявки.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected StopOrdersServiceGrpc.StopOrdersServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<StopOrdersServiceGrpc.StopOrdersServiceFutureStub>
-
postStopOrder
public com.google.common.util.concurrent.ListenableFuture<PostStopOrderResponse> postStopOrder(PostStopOrderRequest request) Метод выставления стоп-заявки.
-
getStopOrders
public com.google.common.util.concurrent.ListenableFuture<GetStopOrdersResponse> getStopOrders(GetStopOrdersRequest request) Метод получения списка активных стоп заявок по счёту.
-
cancelStopOrder
public com.google.common.util.concurrent.ListenableFuture<CancelStopOrderResponse> cancelStopOrder(CancelStopOrderRequest request) Метод отмены стоп-заявки.
-