public interface ImmutableEventDatagram extends StructuredDataObject
Title: Structured Data Objects
Description: Base interface for all event datagrams.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SEMANTIC_TYPE_NAME |
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
ImmutableEventDatagram |
clone()
Clones the event.
|
boolean |
getDurable()
Returns the flag indicating the durability of this event.
|
java.lang.String |
getEventGroupId()
Returns the optional field that allows developers to group this event with others
of a similar type or within a sequence.
|
java.lang.String |
getEventId()
Returns the
Event Identifier for this datagram. |
java.lang.String |
getEventKey()
Returns an optional field that uniquely identifies this event type instance.
|
byte[] |
getEventSource()
Returns the event source address of this event as a byte array.
|
java.util.Date |
getTimestamp()
Returns the timestamp indicating when this object was created (coalesced) by the dispatcher.
|
byte |
getTransmitAccess()
Returns a
TransmitAccess byte permission flag indicating the scope of this event datagram
indicating whether it may be re-transmitted or re-sent to another destination. |
getSerialVersionUID
static final java.lang.String SEMANTIC_TYPE_NAME
java.lang.String getEventId()
Event Identifier
for this datagram.
Service
Event Fabric
. Unlike the conventional messaging system wherein a transmission
channel is decoupled from the object being transmitted, Event Datagrams are
coupled to their transmission channels (Subjects). In this way the Event
Identifier
serves two functions. It specifies the transmission channel and
hints at the signature of the object being transmitted.
Event Identifiers
use the dotted notation to separate the namespace
nodes. Special characters: `,~,!,@,#,$,%,^,&,*,(,),+,=,<,>,?,/,\,[,],{,},;
are not permitted and their use will result in exception.
java.util.Date getTimestamp()
byte getTransmitAccess()
TransmitAccess
byte permission flag indicating the scope of this event datagram
indicating whether it may be re-transmitted or re-sent to another destination.byte[] getEventSource()
boolean getDurable()
ImmutableEventDatagram clone()
clone
in interface CloneableObject
java.lang.String getEventKey()
java.lang.String getEventGroupId()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.