Package p4.v1
Class P4RuntimeGrpc.P4RuntimeFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<P4RuntimeGrpc.P4RuntimeFutureStub>
io.grpc.stub.AbstractFutureStub<P4RuntimeGrpc.P4RuntimeFutureStub>
p4.v1.P4RuntimeGrpc.P4RuntimeFutureStub
- Enclosing class:
P4RuntimeGrpc
public static final class P4RuntimeGrpc.P4RuntimeFutureStub
extends io.grpc.stub.AbstractFutureStub<P4RuntimeGrpc.P4RuntimeFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service P4Runtime.
-
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 TypeMethodDescriptionprotected P4RuntimeGrpc.P4RuntimeFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<P4RuntimeOuterClass.CapabilitiesResponse> com.google.common.util.concurrent.ListenableFuture<P4RuntimeOuterClass.GetForwardingPipelineConfigResponse> Gets the current P4 forwarding-pipeline config.com.google.common.util.concurrent.ListenableFuture<P4RuntimeOuterClass.SetForwardingPipelineConfigResponse> Sets the P4 forwarding-pipeline config.com.google.common.util.concurrent.ListenableFuture<P4RuntimeOuterClass.WriteResponse> write(P4RuntimeOuterClass.WriteRequest request) Update one or more P4 entities on the target.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected P4RuntimeGrpc.P4RuntimeFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<P4RuntimeGrpc.P4RuntimeFutureStub>
-
write
public com.google.common.util.concurrent.ListenableFuture<P4RuntimeOuterClass.WriteResponse> write(P4RuntimeOuterClass.WriteRequest request) Update one or more P4 entities on the target.
-
setForwardingPipelineConfig
public com.google.common.util.concurrent.ListenableFuture<P4RuntimeOuterClass.SetForwardingPipelineConfigResponse> setForwardingPipelineConfig(P4RuntimeOuterClass.SetForwardingPipelineConfigRequest request) Sets the P4 forwarding-pipeline config.
-
getForwardingPipelineConfig
public com.google.common.util.concurrent.ListenableFuture<P4RuntimeOuterClass.GetForwardingPipelineConfigResponse> getForwardingPipelineConfig(P4RuntimeOuterClass.GetForwardingPipelineConfigRequest request) Gets the current P4 forwarding-pipeline config.
-
capabilities
public com.google.common.util.concurrent.ListenableFuture<P4RuntimeOuterClass.CapabilitiesResponse> capabilities(P4RuntimeOuterClass.CapabilitiesRequest request)
-