Skip to content

Commit d29d456

Browse files
Christoffer-Cortesvasile-baluta
authored andcommitted
extend protocol interface (#6)
extend protocol interface
1 parent 33cd777 commit d29d456

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ apply plugin: 'eclipse'
3434

3535
jar {
3636
baseName = 'remrem-protocol'
37-
version = '0.0.5'
37+
version = '0.0.6'
3838
}
3939

4040
group 'com.ericsson.eiffel.remrem'

src/main/java/com/ericsson/eiffel/remrem/protocol/MsgService.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
*/
1515
package com.ericsson.eiffel.remrem.protocol;
1616

17+
import java.util.Collection;
18+
1719
import com.google.gson.JsonObject;
1820

1921
public interface MsgService {
@@ -42,6 +44,12 @@ public interface MsgService {
4244
* @return the eventType from eiffelMessage if event type is not available then returns the null value
4345
*/
4446
String getEventType(JsonObject eiffelMessage);
47+
48+
/** Returns a collection of event types supported by this protocol.
49+
* Use iterator to iterate throught the collection.
50+
* @return collection of supported event types
51+
*/
52+
Collection<String> getSupportedEventTypes();
4553

4654
/**
4755
* Returns service name.

0 commit comments

Comments
 (0)