Changed RequestHandler.process(...) implementations to updated API signature.
Change-Id: I8dca12703721a4c44d1267d187f314a9978ecc95
diff --git a/onos-byon-gui/src/main/java/org/onosproject/byon/gui/NetworkOverlayMessageHandler.java b/onos-byon-gui/src/main/java/org/onosproject/byon/gui/NetworkOverlayMessageHandler.java
index c0d2154..6db485f 100644
--- a/onos-byon-gui/src/main/java/org/onosproject/byon/gui/NetworkOverlayMessageHandler.java
+++ b/onos-byon-gui/src/main/java/org/onosproject/byon/gui/NetworkOverlayMessageHandler.java
@@ -79,7 +79,7 @@
}
@Override
- public void process(long sid, ObjectNode payload) {
+ public void process(ObjectNode payload) {
ObjectNode rootNode = objectNode();
ArrayNode networks = arrayNode();
rootNode.set(NETWORKS, networks);
diff --git a/onos-byon-gui/src/main/java/org/onosproject/byon/gui/NetworkTableViewMessageHandler.java b/onos-byon-gui/src/main/java/org/onosproject/byon/gui/NetworkTableViewMessageHandler.java
index d125010..4b227fb 100644
--- a/onos-byon-gui/src/main/java/org/onosproject/byon/gui/NetworkTableViewMessageHandler.java
+++ b/onos-byon-gui/src/main/java/org/onosproject/byon/gui/NetworkTableViewMessageHandler.java
@@ -105,7 +105,7 @@
}
@Override
- public void process(long sid, ObjectNode payload) {
+ public void process(ObjectNode payload) {
String name = string(payload, ID, "(none)");
NetworkService networkService = get(NetworkService.class);
diff --git a/uiref/src/main/java/org/onosproject/uiref/UiRefCustomViewMessageHandler.java b/uiref/src/main/java/org/onosproject/uiref/UiRefCustomViewMessageHandler.java
index caf7fae..6cf7be1 100644
--- a/uiref/src/main/java/org/onosproject/uiref/UiRefCustomViewMessageHandler.java
+++ b/uiref/src/main/java/org/onosproject/uiref/UiRefCustomViewMessageHandler.java
@@ -59,7 +59,7 @@
}
@Override
- public void process(long sid, ObjectNode payload) {
+ public void process(ObjectNode payload) {
someIncrement++;
someNumber += someIncrement;
log.debug("Computing data for {}...", someNumber);
@@ -69,7 +69,7 @@
result.put(SQUARE, someNumber * someNumber);
result.put(CUBE, someNumber * someNumber * someNumber);
result.put(MESSAGE, String.format(MSG_FORMAT, someIncrement + 1));
- sendMessage(UI_REF_CUSTOM_DATA_RESP, 0, result);
+ sendMessage(UI_REF_CUSTOM_DATA_RESP, result);
}
}
}
diff --git a/uiref/src/main/java/org/onosproject/uiref/UiRefTableViewMessageHandler.java b/uiref/src/main/java/org/onosproject/uiref/UiRefTableViewMessageHandler.java
index a4f33d1..dd0b9fd 100644
--- a/uiref/src/main/java/org/onosproject/uiref/UiRefTableViewMessageHandler.java
+++ b/uiref/src/main/java/org/onosproject/uiref/UiRefTableViewMessageHandler.java
@@ -119,7 +119,7 @@
}
@Override
- public void process(long sid, ObjectNode payload) {
+ public void process(ObjectNode payload) {
String id = string(payload, ID, "(none)");
// SomeService ss = get(SomeService.class);
@@ -145,7 +145,7 @@
data.put(COMMENT, "Some arbitrary comment");
}
- sendMessage(UI_REF_TABLE_DETAIL_RESP, 0, rootNode);
+ sendMessage(UI_REF_TABLE_DETAIL_RESP, rootNode);
}
}
diff --git a/uiref/src/main/java/org/onosproject/uiref/UiRefTopoOverlayMessageHandler.java b/uiref/src/main/java/org/onosproject/uiref/UiRefTopoOverlayMessageHandler.java
index 2fe5669..017bcb3 100644
--- a/uiref/src/main/java/org/onosproject/uiref/UiRefTopoOverlayMessageHandler.java
+++ b/uiref/src/main/java/org/onosproject/uiref/UiRefTopoOverlayMessageHandler.java
@@ -123,7 +123,7 @@
}
@Override
- public void process(long sid, ObjectNode payload) {
+ public void process(ObjectNode payload) {
String mode = string(payload, MODE);
log.debug("Start Display: mode [{}]", mode);
@@ -158,7 +158,7 @@
}
@Override
- public void process(long sid, ObjectNode payload) {
+ public void process(ObjectNode payload) {
String id = string(payload, ID);
log.debug("Update Display: id [{}]", id);
if (!Strings.isNullOrEmpty(id)) {
@@ -175,7 +175,7 @@
}
@Override
- public void process(long sid, ObjectNode payload) {
+ public void process(ObjectNode payload) {
log.debug("Stop Display");
cancelTask();
clearState();
@@ -189,7 +189,7 @@
}
@Override
- public void process(long sid, ObjectNode payload) {
+ public void process(ObjectNode payload) {
String id = string(payload, ID);
log.debug("Request ports for device [{}]", id);
sendPortDataForDevice(id);
@@ -202,7 +202,7 @@
}
@Override
- public void process(long sid, ObjectNode payload) {
+ public void process(ObjectNode payload) {
String device = string(payload, DEVICE);
String port = string(payload, PORT);