public abstract class AbstractPushEventContext<EventType> extends Object implements IPushEventContext<EventType>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPushEventContext(EventType event,
IPushChannel<EventType> channel) |
| Modifier and Type | Method and Description |
|---|---|
IPushChannel<EventType> |
getChannel() |
EventType |
getEvent() |
Object |
getProperty(Object key) |
long |
getTimestamp() |
AbstractPushEventContext<EventType> |
setProperty(Object key,
Object value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceprotected AbstractPushEventContext(EventType event, IPushChannel<EventType> channel)
public IPushChannel<EventType> getChannel()
getChannel in interface IPushEventContext<EventType>public EventType getEvent()
getEvent in interface IPushEventContext<EventType>public Object getProperty(Object key)
getProperty in interface IPushEventContext<EventType>public long getTimestamp()
getTimestamp in interface IPushEventContext<EventType>public AbstractPushEventContext<EventType> setProperty(Object key, Object value)
setProperty in interface IPushEventContext<EventType>Copyright © 2015. All rights reserved.