from
Creates a new instance of the event class.
Return
new instance
Parameters
raw Class
a class of an event message or a rejection message
Creates a new EventClass
instance from the passed type URL.
Throws
if the passed TypeUrl
does not represent an event type
Creates a new EventClass
from the given event.
Named from
to avoid collision with of.