Merge "Add implementation of getInterfaceHash()"

This commit is contained in:
Paul Trautrim
2020-01-29 05:12:12 +00:00
committed by Gerrit Code Review
3 changed files with 15 additions and 0 deletions

View File

@@ -28,4 +28,9 @@ public abstract class DhcpServerCallbacks extends IDhcpServerCallbacks.Stub {
public int getInterfaceVersion() {
return IDhcpServerCallbacks.VERSION;
}
@Override
public String getInterfaceHash() {
return IDhcpServerCallbacks.HASH;
}
}

View File

@@ -301,6 +301,11 @@ public class IpServer extends StateMachine {
public int getInterfaceVersion() {
return this.VERSION;
}
@Override
public String getInterfaceHash() {
return this.HASH;
}
}
private class DhcpServerCallbacksImpl extends DhcpServerCallbacks {

View File

@@ -67,4 +67,9 @@ public class BaseNetdUnsolicitedEventListener extends INetdUnsolicitedEventListe
public int getInterfaceVersion() {
return INetdUnsolicitedEventListener.VERSION;
}
@Override
public String getInterfaceHash() {
return INetdUnsolicitedEventListener.HASH;
}
}