Skip to content

Commit 36482bc

Browse files
author
Joerg Huber
committed
Removed zone and context parameter from onEvent() method.
1 parent 9e22d77 commit 36482bc

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

SIF3InfraREST/sif3Common/src/main/java/sif3/common/interfaces/EventConsumer.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
import sif3.common.header.HeaderValues.EventAction;
2222
import sif3.common.header.HeaderValues.UpdateType;
2323
import sif3.common.model.EventMetadata;
24-
import sif3.common.model.SIFContext;
2524
import sif3.common.model.SIFEvent;
26-
import sif3.common.model.SIFZone;
2725

2826
/**
2927
* This class defines the events functionality for consumers. If your consumer must implement events then this interface
@@ -35,18 +33,16 @@
3533
public interface EventConsumer<L> extends DataModelLink
3634
{
3735
/**
38-
* This method is called every time an event is available for the given consumer.
36+
* This method is called every time an event is available for the given consumer. The SIFEvent<L> has a property called limitToZoneCtxList.
3937
*
4038
* @param sifEvent The event data that has been received and shall be processed by the consumer.
41-
* @param zone The zone from which the event has been received.
42-
* @param context The context for which the event is applicable for.
4339
* @param metadata Metadata provided by the originator of the event.
4440
* @param msgReadID The ID of the SIF queue reader. It is informative only and is only of use where there are multiple concurrent
4541
* subscribers on a message queue.
4642
* @param consumerID The consumer ID that has been used to receive the event from the event queue. It is informative
4743
* only and is only of use where there are multiple event subscribers enabled.
4844
*/
49-
public void onEvent(SIFEvent<L> sifEvent, SIFZone zone, SIFContext context, EventMetadata metadata, String msgReadID, String consumerID);
45+
public void onEvent(SIFEvent<L> sifEvent, EventMetadata metadata, String msgReadID, String consumerID);
5046

5147
/**
5248
* This method creates an event object with the given sifObject data. This method is required by the event consumers

0 commit comments

Comments
 (0)