org.jmythapi.protocol.events
Interface IShutdownCountdown

All Superinterfaces:
Cloneable, IMythEvent<IShutdownCountdown.Props>, IPropertyAware<IShutdownCountdown.Props>, ISendable, IVersionable
All Known Implementing Classes:
ShutdownCountdown

public interface IShutdownCountdown
extends IMythEvent<IShutdownCountdown.Props>

Backend Event - Shutdown Countdown.


Nested Class Summary
static class IShutdownCountdown.Props
           
 
Method Summary
 Integer getSecondsTillShutdown()
          Gets the amount of seconds left till shutdown.
 Date getShutdownTime()
          Gets the scheduled shutdown time.
 
Methods inherited from interface org.jmythapi.protocol.events.IMythEvent
getEventName
 
Methods inherited from interface org.jmythapi.IPropertyAware
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 
Methods inherited from interface org.jmythapi.protocol.ISendable
getPacket
 

Method Detail

getSecondsTillShutdown

Integer getSecondsTillShutdown()
Gets the amount of seconds left till shutdown.

Returns:
the amount of seconds till shutdown.

getShutdownTime

Date getShutdownTime()
Gets the scheduled shutdown time.

Returns:
the scheduled shutdown time.


Copyright © 2008-2013. All Rights Reserved.