public abstract class AbstractArkEvent<T> extends Object implements ArkEvent
| Modifier and Type | Field and Description |
|---|---|
protected T |
source |
protected long |
timestamp |
protected String |
topic |
| Constructor and Description |
|---|
AbstractArkEvent(T source) |
| Modifier and Type | Method and Description |
|---|---|
T |
getSource() |
long |
getTimestamp() |
String |
getTopic()
Returns the topic of event
|
void |
setSource(T source) |
void |
setTimestamp(long timestamp) |
void |
setTopic(String topic) |
protected transient T source
protected String topic
protected long timestamp
public AbstractArkEvent(T source)
public T getSource()
public void setSource(T source)
public String getTopic()
ArkEventpublic void setTopic(String topic)
public long getTimestamp()
public void setTimestamp(long timestamp)
Copyright © 2024. All rights reserved.