2020-06-18 12:55:34 +02:00
|
|
|
package org.gcube.event.publisher;
|
|
|
|
|
2021-12-27 12:49:14 +01:00
|
|
|
import org.json.simple.JSONObject;
|
|
|
|
|
2020-06-18 12:55:34 +02:00
|
|
|
public interface EventSender {
|
|
|
|
|
2020-06-23 13:09:44 +02:00
|
|
|
void send(Event event);
|
2020-06-18 12:55:34 +02:00
|
|
|
|
2021-12-27 12:49:14 +01:00
|
|
|
String sendAndGetResult(Event event);
|
|
|
|
|
|
|
|
JSONObject retrive(String id);
|
|
|
|
|
2020-06-18 12:55:34 +02:00
|
|
|
}
|