Package p4.v1
Class P4RuntimeGrpc.P4RuntimeBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<P4RuntimeGrpc.P4RuntimeBlockingStub>
io.grpc.stub.AbstractBlockingStub<P4RuntimeGrpc.P4RuntimeBlockingStub>
p4.v1.P4RuntimeGrpc.P4RuntimeBlockingStub
- Enclosing class:
P4RuntimeGrpc
public static final class P4RuntimeGrpc.P4RuntimeBlockingStub
extends io.grpc.stub.AbstractBlockingStub<P4RuntimeGrpc.P4RuntimeBlockingStub>
A stub to allow clients to do limited synchronous 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.P4RuntimeBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Gets the current P4 forwarding-pipeline config.read(P4RuntimeOuterClass.ReadRequest request) Read one or more P4 entities from the target.Sets the P4 forwarding-pipeline config.write(P4RuntimeOuterClass.WriteRequest request) Update one or more P4 entities on the target.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.P4RuntimeBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<P4RuntimeGrpc.P4RuntimeBlockingStub>
-
write
Update one or more P4 entities on the target.
-
read
Read one or more P4 entities from the target.
-
setForwardingPipelineConfig
public P4RuntimeOuterClass.SetForwardingPipelineConfigResponse setForwardingPipelineConfig(P4RuntimeOuterClass.SetForwardingPipelineConfigRequest request) Sets the P4 forwarding-pipeline config.
-
getForwardingPipelineConfig
public P4RuntimeOuterClass.GetForwardingPipelineConfigResponse getForwardingPipelineConfig(P4RuntimeOuterClass.GetForwardingPipelineConfigRequest request) Gets the current P4 forwarding-pipeline config.
-
capabilities
public P4RuntimeOuterClass.CapabilitiesResponse capabilities(P4RuntimeOuterClass.CapabilitiesRequest request)
-