From 1acb655c96636a0a6549cb12718686a1f7ac516b Mon Sep 17 00:00:00 2001 From: ezcorch Date: Tue, 9 Jan 2018 15:09:30 +0100 Subject: [PATCH 1/2] extend protocol interface --- .../com/ericsson/eiffel/remrem/protocol/MsgService.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/ericsson/eiffel/remrem/protocol/MsgService.java b/src/main/java/com/ericsson/eiffel/remrem/protocol/MsgService.java index b018491..02184a7 100644 --- a/src/main/java/com/ericsson/eiffel/remrem/protocol/MsgService.java +++ b/src/main/java/com/ericsson/eiffel/remrem/protocol/MsgService.java @@ -14,6 +14,8 @@ */ package com.ericsson.eiffel.remrem.protocol; +import java.util.Collection; + import com.google.gson.JsonObject; public interface MsgService { @@ -42,6 +44,12 @@ public interface MsgService { * @return the eventType from eiffelMessage if event type is not available then returns the null value */ String getEventType(JsonObject eiffelMessage); + + /** Returns a collection of event types supported by this protocol. + * Use iterator to iterate throught the collection. + * @return collection of supported event types + */ + Collection getSupportedEventTypes(); /** * Returns service name. From 7f8b0abae390720f2fbaa551be65b5c04195795b Mon Sep 17 00:00:00 2001 From: ezcorch Date: Tue, 9 Jan 2018 15:18:07 +0100 Subject: [PATCH 2/2] step version --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 041bc71..10a01c7 100644 --- a/build.gradle +++ b/build.gradle @@ -34,7 +34,7 @@ apply plugin: 'eclipse' jar { baseName = 'remrem-protocol' - version = '0.0.5' + version = '0.0.6' } group 'com.ericsson.eiffel.remrem'