net.commerce.zocalo.ajax.events
Class Transition

java.lang.Object
  extended by org.apache.log4j.spi.LoggingEvent
      extended by net.commerce.zocalo.ajax.events.Action
          extended by net.commerce.zocalo.ajax.events.Transition
All Implemented Interfaces:
java.io.Serializable

public class Transition
extends Action

Action representing changes from one Session state to the next. (market open, computing scores, etc.)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.log4j.spi.LoggingEvent
categoryName, fqnOfCategoryClass, level, timeStamp
 
Constructor Summary
Transition(java.lang.String transition, java.lang.String marketName)
           
Transition(java.lang.String transition, java.lang.String displayText, int round, java.lang.String timeRemaining)
           
 
Method Summary
static org.apache.log4j.Logger getActionLogger()
           
 void publishTo(TransitionDispatcher dispatcher)
           
 java.lang.String toLogString()
           
 
Methods inherited from class net.commerce.zocalo.ajax.events.Action
callBackPublish, getRenderedMessage, toString
 
Methods inherited from class org.apache.log4j.spi.LoggingEvent
getFQNOfLoggerClass, getLevel, getLocationInformation, getLogger, getLoggerName, getMDC, getMDCCopy, getMessage, getNDC, getProperties, getProperty, getPropertyKeySet, getStartTime, getThreadName, getThrowableInformation, getThrowableStrRep, getTimeStamp, locationInformationExists, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Transition

public Transition(java.lang.String transition,
                  java.lang.String displayText,
                  int round,
                  java.lang.String timeRemaining)

Transition

public Transition(java.lang.String transition,
                  java.lang.String marketName)
Method Detail

publishTo

public void publishTo(TransitionDispatcher dispatcher)

toLogString

public java.lang.String toLogString()
Specified by:
toLogString in class Action

getActionLogger

public static org.apache.log4j.Logger getActionLogger()