public class RuntimeStub extends Object implements ElectionIdObserver
Constructor and Description |
---|
RuntimeStub(String ip,
Integer port,
Long deviceId,
String nodeId) |
Modifier and Type | Method and Description |
---|---|
boolean |
getConnectState() |
ElectionId |
getElectionId() |
GetForwardingPipelineConfigResponse |
getPipelineConfig(GetForwardingPipelineConfigRequest request) |
void |
notifyWhenStateChanged(io.grpc.ConnectivityState source,
Runnable callback) |
Iterator<ReadResponse> |
read(ReadRequest request) |
void |
sendMasterArbitration(ElectionId electionId) |
SetForwardingPipelineConfigResponse |
setPipelineConfig(SetForwardingPipelineConfigRequest request) |
void |
shutdown() |
void |
streamChannel() |
void |
transmitPacket(byte[] payload) |
void |
update(ElectionId electionId) |
WriteResponse |
write(WriteRequest request) |
public void notifyWhenStateChanged(io.grpc.ConnectivityState source, Runnable callback)
public boolean getConnectState()
public void shutdown()
public SetForwardingPipelineConfigResponse setPipelineConfig(SetForwardingPipelineConfigRequest request)
public GetForwardingPipelineConfigResponse getPipelineConfig(GetForwardingPipelineConfigRequest request)
public void streamChannel()
public void transmitPacket(byte[] payload)
public WriteResponse write(WriteRequest request)
public Iterator<ReadResponse> read(ReadRequest request)
public void sendMasterArbitration(ElectionId electionId)
public void update(ElectionId electionId)
update
in interface ElectionIdObserver
public ElectionId getElectionId()
Copyright © 2018 OpenDaylight. All rights reserved.