public interface ConnectionStrategyServerConnector
ConnectionStrategyServerConnector
listens for occurring events (Event
)
on the server side and has the task to prepare the transfer from the server side to the client side.
The reason for the listen and transfer preparation within one single class is, that the ConnectionStrategyServerConnector
should have the control about listening and transfer of the occurred events.Modifier and Type | Method and Description |
---|---|
List<DomainEvent> |
listen(UserInfo aUserInfo)
Listens for occurring events (can be retrieved from the
UserInfo with
de.novanic.eventservice.service.registry.user.UserInfo#retrieveEvents() ) and should prepare or transfer the retrieved events
directly. |
List<DomainEvent> listen(UserInfo aUserInfo) throws EventServiceException
UserInfo
with
de.novanic.eventservice.service.registry.user.UserInfo#retrieveEvents()
) and should prepare or transfer the retrieved events
directly. The reason for the listen and transfer preparation within one single method is, that the ConnectionStrategyServerConnector
should have the control about listening and transfer of the occurred events.aUserInfo
- UserInfo
which holds new occurred eventsEventServiceException
Copyright © 2012. All Rights Reserved.