org.wicketstuff.push
Class AbstractPushEventContext<EventType>

java.lang.Object
  extended by 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
protected AbstractPushEventContext(EventType event, IPushChannel<EventType> channel)
           
 
Method Summary
 IPushChannel<EventType> getChannel()
          
 EventType getEvent()
          
 Object getProperty(Object key)
          
 long getTimestamp()
          
 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:
getChannel in interface IPushEventContext<EventType>

getEvent

public EventType getEvent()

Specified by:
getEvent in interface IPushEventContext<EventType>

getProperty

public Object getProperty(Object key)

Specified by:
getProperty in interface IPushEventContext<EventType>

getTimestamp

public long getTimestamp()

Specified by:
getTimestamp in interface IPushEventContext<EventType>

setProperty

public AbstractPushEventContext<EventType> setProperty(Object key,
                                                       Object value)

Specified by:
setProperty in interface IPushEventContext<EventType>
Returns:
this


Copyright © 2013. All Rights Reserved.