public abstract static class P4RuntimeGrpc.P4RuntimeImplBase extends Object implements io.grpc.BindableService
Constructor and Description |
---|
P4RuntimeImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
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.
|
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
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService
Copyright © 2018 OpenDaylight. All rights reserved.