Class EventMetaData
Object
se.curity.identityserver.sdk.data.EventMetaData
- All Implemented Interfaces:
SerializableAsMap
This object contains meta-data about a delivered
Event that is not explicitly a component of said event.
Instead, this meta-data describes the sender and receiver of the event.-
Constructor Details
-
EventMetaData
-
-
Method Details
-
getServerId
- Returns:
- the ID of the server the
Eventwas published on
-
getServiceRole
- Returns:
- The service role the node is operating as.
- Since:
- 4.0.0
-
getDeliveredInstant
- Returns:
- the Instant the
Eventwas delivered to theEventListener
-
getPublishedInstant
- Returns:
- the Instant the
Eventwas published
-
asMap
- Specified by:
asMapin interfaceSerializableAsMap- Returns:
- representation of this Object as a Map containing only Java primitive types, plus instances of
Collection,StringandMap.It should be possible to fully re-construct this Object from a Map obtained by calling this method.
Unfortunately, in Java it is quite hard to make the type system enforce this condition, so implementators must be especially careful about this.
-
toString
-