public interface Event extends SerializableAsMap
Events can be published by the server when something noticeable happens, and are meant to be handled by
See the sub-types of this interface to find out what kinds of events the server produces.
default Map<String,Object> asMap()
Maprepresentation of this
Event. This can be used to serialize events. Sub-types are encouraged to override this method, calling
super.asMap()and enriching the returned mutable
Mapwith the more specific information added by the sub-type.
Copyright © 2018 Curity AB. All rights reserved.