public static final class P4RuntimeGrpc.P4RuntimeStub extends io.grpc.stub.AbstractStub<P4RuntimeGrpc.P4RuntimeStub>
Modifier and Type | Method and Description |
---|---|
protected P4RuntimeGrpc.P4RuntimeStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
getForwardingPipelineConfig(GetForwardingPipelineConfigRequest request,
io.grpc.stub.StreamObserver<GetForwardingPipelineConfigResponse> responseObserver)
Gets the current P4 fowarding-pipeline config.
|
void |
read(ReadRequest request,
io.grpc.stub.StreamObserver<ReadResponse> responseObserver)
Read one or more P4 entities from the target.
|
void |
setForwardingPipelineConfig(SetForwardingPipelineConfigRequest request,
io.grpc.stub.StreamObserver<SetForwardingPipelineConfigResponse> responseObserver)
Sets the P4 fowarding-pipeline config.
|
io.grpc.stub.StreamObserver<StreamMessageRequest> |
streamChannel(io.grpc.stub.StreamObserver<StreamMessageResponse> responseObserver)
Represents the bidirectional stream between the controller and the
switch (initiated by the controller), and is managed for the following
purposes: - connection initiation through master arbitration -
indicating switch session liveness: the session is live when switch
sends
a positive master arbitration update to the controller, and is
considered dead when either the stream breaks or the switch sends a
negative update for master arbitration
- the controller sending/receiving packets to/from the switch
|
void |
write(WriteRequest request,
io.grpc.stub.StreamObserver<WriteResponse> responseObserver)
Update one or more P4 entities on the target.
|
protected P4RuntimeGrpc.P4RuntimeStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<P4RuntimeGrpc.P4RuntimeStub>
public void write(WriteRequest request, io.grpc.stub.StreamObserver<WriteResponse> responseObserver)
Update one or more P4 entities on the target.
public void read(ReadRequest request, io.grpc.stub.StreamObserver<ReadResponse> responseObserver)
Read one or more P4 entities from the target.
public void setForwardingPipelineConfig(SetForwardingPipelineConfigRequest request, io.grpc.stub.StreamObserver<SetForwardingPipelineConfigResponse> responseObserver)
Sets the P4 fowarding-pipeline config.
public void getForwardingPipelineConfig(GetForwardingPipelineConfigRequest request, io.grpc.stub.StreamObserver<GetForwardingPipelineConfigResponse> responseObserver)
Gets the current P4 fowarding-pipeline config.
public io.grpc.stub.StreamObserver<StreamMessageRequest> streamChannel(io.grpc.stub.StreamObserver<StreamMessageResponse> responseObserver)
Represents the bidirectional stream between the controller and the switch (initiated by the controller), and is managed for the following purposes: - connection initiation through master arbitration - indicating switch session liveness: the session is live when switch sends a positive master arbitration update to the controller, and is considered dead when either the stream breaks or the switch sends a negative update for master arbitration - the controller sending/receiving packets to/from the switch
Copyright © 2018 OpenDaylight. All rights reserved.