Package org.wicketstuff.push
Class AbstractPushEventContext<EventType>
- java.lang.Object
-
- org.wicketstuff.push.AbstractPushEventContext<EventType>
-
- All Implemented Interfaces:
IPushEventContext<EventType>
public abstract class AbstractPushEventContext<EventType> extends Object implements IPushEventContext<EventType>
- Author:
- Sebastian Thomschke
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPushEventContext(EventType event, IPushChannel<EventType> channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPushChannel<EventType>getChannel()EventTypegetEvent()ObjectgetProperty(Object key)longgetTimestamp()AbstractPushEventContext<EventType>setProperty(Object key, Object value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wicketstuff.push.IPushEventContext
getService
-
-
-
-
Constructor Detail
-
AbstractPushEventContext
protected AbstractPushEventContext(EventType event, IPushChannel<EventType> channel)
-
-
Method Detail
-
getChannel
public IPushChannel<EventType> getChannel()
- Specified by:
getChannelin interfaceIPushEventContext<EventType>
-
getEvent
public EventType getEvent()
- Specified by:
getEventin interfaceIPushEventContext<EventType>
-
getProperty
public Object getProperty(Object key)
- Specified by:
getPropertyin interfaceIPushEventContext<EventType>
-
getTimestamp
public long getTimestamp()
- Specified by:
getTimestampin interfaceIPushEventContext<EventType>
-
setProperty
public AbstractPushEventContext<EventType> setProperty(Object key, Object value)
- Specified by:
setPropertyin interfaceIPushEventContext<EventType>- Returns:
- this
-
-