File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
jetclient/src/main/java/org/menacheri/jetclient/event Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ package org .menacheri .jetclient .event ;
2
+
3
+ import org .menacheri .jetclient .communication .IDeliveryGuaranty ;
4
+
5
+ /**
6
+ * This interface is specifically used for events that will get transmitted to
7
+ * remote machine/vm. It contains the {@link IDeliveryGuaranty} associated with
8
+ * the event so that messages can be transmitted either using TCP or UDP
9
+ * transports based on the guaranty defined. Implementations can use RELIABLE as
10
+ * default.
11
+ *
12
+ * @author Abraham Menacherry
13
+ *
14
+ */
15
+ public interface INetworkEvent extends IEvent
16
+ {
17
+ IDeliveryGuaranty getDeliveryGuaranty ();
18
+
19
+ void setDeliveryGuaranty (IDeliveryGuaranty deliveryGuaranty );
20
+ }
You can’t perform that action at this time.
0 commit comments