public abstract class ExecutionStateEvent extends Observable
| Modifier and Type | Class and Description |
|---|---|
static class |
ExecutionStateEvent.EventName
The typed name of event
|
| Constructor and Description |
|---|
ExecutionStateEvent() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Decode(byte[] buf)
Decode.
|
abstract byte[] |
Encode()
Encode.
|
abstract long |
GetEmitTimestamp()
Gets the timestamp the event was emitted.
|
abstract ExecutionStateEvent.EventName |
GetEventName()
Gets the event name.
|
void |
SetChanged()
Sets that the event is carrying updated information.
|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic void SetChanged()
public abstract ExecutionStateEvent.EventName GetEventName()
public abstract long GetEmitTimestamp()
public abstract byte[] Encode()
throws ExecutionSerializationException
ExecutionSerializationException - A serialization error occurredpublic abstract void Decode(byte[] buf)
throws ExecutionSerializationException
buf - the byte array containing the encoded event as serialized by Encode()ExecutionSerializationException - A serialization error occurredCopyright © 2015. All Rights Reserved.