Package com._1c.g5.v8.dt.aef2.bm.events
Class BmChangeEventConsumer
- java.lang.Object
-
- com._1c.g5.aef2.events.AbstractServiceConsumer<BmChangeEvent,BmServiceEvent>
-
- com._1c.g5.v8.dt.aef2.bm.events.BmChangeEventConsumer
-
- All Implemented Interfaces:
IServiceConsumer<BmChangeEvent>
,IBmAsyncEventListener
public class BmChangeEventConsumer extends AbstractServiceConsumer<BmChangeEvent,BmServiceEvent> implements IBmAsyncEventListener
TheIServiceConsumer
implementation that acceptsBmChangeEvent
s and sends theBmServiceEvent
s to tracker.
-
-
Constructor Summary
Constructors Constructor Description BmChangeEventConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BmServiceEvent
convertToAefEvent(BmChangeEvent changeEvent)
Converts the given external event to AEF service event.void
handleAsyncEvent(BmEvent event)
Invoked to notify about a BM event.-
Methods inherited from class com._1c.g5.aef2.events.AbstractServiceConsumer
accept, dispose, getEventTracker, intitialize, notifyServiceEventQualifierScopeChanged
-
-
-
-
Method Detail
-
handleAsyncEvent
public void handleAsyncEvent(BmEvent event)
Description copied from interface:IBmAsyncEventListener
Invoked to notify about a BM event.- Specified by:
handleAsyncEvent
in interfaceIBmAsyncEventListener
- Parameters:
event
- the BM event. Nevernull
.
-
convertToAefEvent
protected BmServiceEvent convertToAefEvent(BmChangeEvent changeEvent)
Description copied from class:AbstractServiceConsumer
Converts the given external event to AEF service event.- Specified by:
convertToAefEvent
in classAbstractServiceConsumer<BmChangeEvent,BmServiceEvent>
- Parameters:
changeEvent
- the external service event.- Returns:
- the AEF
IServiceEvent
successor.
-
-